react-native-video/windows
Chris Glein 06593344f6 Fix lack of onError event
The native code was receiving the event, but not reasing the event.
Which [apparently](https://github.com/microsoft/react-native-windows/issues/4206) needs to be prefixed with "top" and then that turns into "onError".

Note that this raises the event, but no error object is included. Better than nothing.
2023-09-18 18:08:21 -07:00
..
ReactNativeVideoCPP Fix lack of onError event 2023-09-18 18:08:21 -07:00
ReactNativeVideoCPP61 remove unsupported arch and fix uimanager for rnw release 2021-11-15 15:57:24 -08:00
.clang-format React Native Windows updates (#2206) 2021-04-08 13:37:35 -04:00
.gitignore React Native Windows updates (#2206) 2021-04-08 13:37:35 -04:00
.npmignore React Native Windows updates (#2206) 2021-04-08 13:37:35 -04:00
ReactNativeVideoCPP61.sln remove unsupported arch and fix uimanager for rnw release 2021-11-15 15:57:24 -08:00
ReactNativeVideoCPP62.sln remove unsupported arch and fix uimanager for rnw release 2021-11-15 15:57:24 -08:00
ReactNativeVideoCPP.sln remove unsupported arch and fix uimanager for rnw release 2021-11-15 15:57:24 -08:00
README.md React Native Windows updates (#2206) 2021-04-08 13:37:35 -04:00

React Native Video (Windows)

React Native Video is currently maintained for React Native Windows (RNW) >= 0.61.

There is one implementation of react-native-video in this folder:

  1. ReactNativeVideoCPP is the currently maintained implementation:
    1. Use ReactNativeVideoCPP for RNW >= 0.62.
    2. Use ReactNativeVideoCPP61 for RNW 0.61.

Local Development Setup (RNW >= 0.61)

In order to work on ReactNativeVideoCPP, you'll need to install the Windows Development Dependencies.

In addition, react-native-video targets React Native 0.61 and React Native Windows 0.61 as dev dependencies. So in order to build ReactNativeVideoCPP locally against RNW > 0.61 you'll need to temporarily upgrade the development dependencies:

RNW >= 0.63

npm install react-native@^0.63 --only=dev
npm install react-native-windows@^0.63 --only=dev

Now you should be able to open ReactNativeVideoCPP.sln in Visual Studio and build the project.

RNW 0.62

npm install react-native@^0.62 --only=dev
npm install react-native-windows@^0.62 --only=dev

Now you should be able to open ReactNativeVideoCPP62.sln in Visual Studio and build the project.

RNW 0.61

You should be able to open ReactNativeVideoCPP61.sln in Visual Studio and build the project.