react-native-videos-player
v0.0.3
Published
适用于react-native的网络视频播放模块,适用于ios和android
Downloads
7
Readme
react-native-videos-player
适用于react-native的网络视频播放模块,适用于ios和android ##安装
npm install react-native-videos-player
rnpm link react-native-videos-player
##API
| API | Note |
|---|---|
| play
| 播放视频 |
##Usage
import VideoPlayer from 'react-native-videos-player'
//播放视频
VideoPlayer.play({url:'http://simple.mp4'});