CONNECT Player React Native SDK (Deprecated)
1.15.x 1.14.x 1.13.x 1.12.x 1.11.x 1.10.x 1.9.x 1.8.x 1.7.x 1.6.x 1.5.x 1.4.x 1.3.x 1.2.x 1.1.x
1.15.x 1.14.x 1.13.x 1.12.x 1.11.x 1.10.x 1.9.x 1.8.x 1.7.x 1.6.x 1.5.x 1.4.x 1.3.x 1.2.x 1.1.x

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.

  1. 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: 16.13.1

    • react-dom: 16.13.1

    • react-native-web: 0.14.13

  2. Extract the opy-react-native-1.13.x-react-otvplayer.zip file and add the module to your project:

    • yarn add <filepath to extracted react-otvplayer>

  3. Extract opy-react-native-1.13.x-examples.zip and copy the examples/basicPlaybackWeb files as described in examples/README.md to your project.

  4. Build the App using scripts provided by the CRA system or your custom scripts:

    • yarn build