Video player for React Native. Uses platform owned player API, and pay attention to the performance.
npm install @fugood/react-native-video-player
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 }}
/>;
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library
Built and maintained by BRICKS.