THEOPlayer Web v2 (Nowtilus SSAI)
This guide is for integrating the MediaMelon Player SDK with Nowtilus SSAI AdManager for the javascript based THEOPlayer Web v2
Step 1: Add the MediaMelon Player SDK
<script type="text/javascript" src="https://PATH_TO_SMARTSIGHT_SDK/mmsmartstreaming-theo-sdk.js"></script>
<script type='text/javascript' src='THEOplayer.js'></script>Step 2: Register and Initialize the MediaMelon Player SDK
var theoPlayer = new THEOplayer.Player(element, {
libraryLocation: <location of the library>,
license: <player license>
})
var theoPlugin = new mmTheoJSAdapter();
if(theoPlugin.getRegistrationStatus() === false){
theoPlugin.registerMMSmartStreaming(<player_name>, <customer_id>, <subscriber_id>, <domain_name>, <subscriber_type> , <subscriber_tag>);
theoPlugin.reportPlayerInfo(<player_brand>, <player_model>, <player_version>);
}
theoPlugin.initialize(theoPlayer);Step 3: Providing Content Metadata and Custom Tags
Step 4: Setting up the SSAI Ad Manager
Step 5: Registering for Ad events for disabling Player controls
Last updated