0.5.1 • Published 8 months ago

@fugood/react-native-video-player v0.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@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


0.5.1

8 months ago

0.5.0

8 months ago

0.4.0

8 months ago

0.3.3

8 months ago

0.3.2

8 months ago

0.3.1

8 months ago

0.3.0

8 months ago

0.2.0

8 months ago

0.1.1

8 months ago