Integrating the plugin for Web and Smart TV
Ensure your standard React Native Web project (basic-playback-web) is ready, and your Smart TV device is set up for development.
Create a project using the getting started guide at https://necolas.github.io/react-native-web/docs/installation/.
Make sure that the following dependencies are met:"react": "18.2.0""react-dom": "18.2.0""react-native-web": "0.19.9"
Extract the opy-react-native-<version>-react-otvplayer.zip file and add the module to your project:
yarn add <filepath to extracted react-otvplayer>
Extract opy-react-native-<version>-examples.zip and copy the
examples/basicPlaybackWebfiles as described inexamples/README.mdto your project.Build the App using scripts provided by the CRA system or your custom scripts:
yarn build