8cc1dbda4f
This PR adds react-native-windows support to react-native-video. The Video component is implemented with a XAML MediaPlayerElement. Most of the features implemented by Android (and some additional ones) are implemented by Windows. Known issues and missing features include: * onReadyForDisplay event * local URI convention (e.g., "broadchurch" in examples changed to require("./broadchurch.mp4") * `playableDuration` in `onVideoProgress` event is always 0.0 * `playInBackground` is not yet supported * Volume settings are applied, but the UWP control does not handle it properly
18 lines
370 B
JSON
18 lines
370 B
JSON
{
|
|
"name": "VideoPlayer",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "node_modules/react-native/packager/packager.sh"
|
|
},
|
|
"dependencies": {
|
|
"react": "15.3.1",
|
|
"react-native": "^0.33.0",
|
|
"react-native-video": "file:../",
|
|
"react-native-windows": "^0.33.4"
|
|
},
|
|
"devDependencies": {
|
|
"rnpm-plugin-windows": "^0.2.3"
|
|
}
|
|
}
|