mybigday / react-native-video-player

Video player for React Native

Repository from Github https://github.commybigday/react-native-video-playerRepository from Github https://github.commybigday/react-native-video-player

@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.

About

Video player for React Native

License:MIT License


Languages

Language:Kotlin 32.9%Language:Objective-C++ 27.8%Language:Java 10.5%Language:TypeScript 10.2%Language:Objective-C 6.8%Language:Ruby 6.0%Language:JavaScript 3.1%Language:Makefile 1.7%Language:C++ 0.7%Language:C 0.2%Language:Swift 0.1%