MediaMelon SmartSight SDK mmsmartstreaming_reactplayer.min.js file is necessary.
Step 2: Set up the build environment
Using NPM:
npmimediamelon-react-sdk
Step 3: Import Packages
Using NPM:
Using JS file:
Step 4: Register and Initialise SDK
The SDK must be initialised at the start of each video session. Initialisation includes setting the application context, initialising the playback session, and indicating the intent for playback with the SDK.
The enableLogTrace feature should be enabled for testing during the integration process. Set this to False before releasing the player to production.
CUSTOMER_ID is your MediaMelon assigned Customer ID. If you do not know your Customer ID contact MediaMelon at [email protected].
Wrap your Video component with the MMReactPlayerSDK.