THEOPlayer XCFramework
This guide provides detailed instructions on integrating the MediaMelon Player SDK into a Theo player based iOS Media Player Application
Steps Involved in Integrating the MMTheoPlayerFramework
1. Import Frameworks
import THEOplayerSDK
//Integration Step 1
import MMTheoplayerFramework2. Provide asset information
class ViewController: UIViewController {
var theoplayer: THEOplayer!
var assetInfo:MMAssetInformation!
//Integration step 2a
func integrateMMSDK(){
TheoPlayerIntegrationWrapper.shared.enableLogTrace(logStTrace: true) //Send false to disable log trace
let regInfo = MMRegistrationInformation(customerID: "CUSTOMER_ID", playerName:"PLAYER_NAME")
regInfo.setPlayerInformation(brand: "PLAYER_BRAND", model: "PLAYER_MODEL", version: "PLAYER_VERSION")
regInfo.setSubscriberInformation(subscriberID: "SUBSCRIBER_ID", subscriberType: "SUBSCRIBER_TYPE", subscriberTag: "SUBSCRIBER_TAG")
TheoPlayerIntegrationWrapper.setPlayerRegistrationInformation(registrationInformation: regInfo, player: theoplayer)
}3) Cleanup of session
4) Disable Manifest
Last updated