@fugood/react-native-video-player
TypeScript icon, indicating that this package has built-in type declarations

0.5.2 • Public • Published

@fugood/react-native-video-player

Video player for React Native. Uses platform owned player API, and pay attention to the performance.

Installation

npm install @fugood/react-native-video-player

Usage

import VideoPlayer from "@fugood/react-native-video-player";

// ...

<VideoPlayer
  source={{ uri: "https://www.w3schools.com/html/mov_bbb.mp4" }}
  onReadyForDisplay={() => console.log("ready")}
  onLoad={() => console.log("load")}
  onProgress={() => console.log("progress")}
  onEnd={() => console.log("end")}
  onBuffer={() => console.log("buffering")}
  style={{ width: 300, height: 300 }}
/>;

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library


Built and maintained by BRICKS.

Package Sidebar

Install

npm i @fugood/react-native-video-player

Weekly Downloads

38

Version

0.5.2

License

MIT

Unpacked Size

101 kB

Total Files

40

Last publish

Collaborators

  • bricks_deployment
  • pepper.yen
  • jhen0409
  • hans00