MediaMelon JS Custom Multi-Player SDK Integration Document
This guide is for integrating the MediaMelon Custom Multi-Player SDK for the JavaScript-based Web Players
Step 1: Add MediaMelon SDK
npm i mediamelon-js-custom-sdkimport { mmJSCustomAdapter, MMPlayerState, RenditionInfo, RequestStatus} from 'mediamelon-js-custom-sdk'Step 2: Instantiate and Register SDK
Step 2.1: Instantiate and Report Registration Information:
Step 2.2: Report Player Information:
Step 2.3: Report Application Information:
Step 2.4: Report Device Information:
Step 2.5: Report Sub Property ID:
Step 3: Initialize Playback Session
Step 3.1: Initialize Session with Content Metadata:
Step 3.2: Report View Session ID:
Step 3.3: Report Experiment Name:
Step 3.4: Report Preload:
Step 3.5: Report Player Resolution:
Step 3.6: Report User-Initiated Playback:
Step 4: Custom Metadata
Step 5: Stream and Network Information
Step 5.1: Report Stream Information:
Step 5.2: Update Stream URL:
Step 5.3: Report Presentation Info:
Step 5.4: Report Track Information
Step 5.5: Report Rendition:
Step 5.6: Update DRM Type:
Step 5.7: Report Network Information:
Step 5.8: Report CDN Information:
Step 5.9: Report Encoding Service:
Step 6: Chunk/Segment Information
Step 6.1: Report Download Rate:
Step 7: Player Events
Step 7.1: Report Player State:
Step 7.2: Report Buffering:
Step 7.3: Report Seek:
Step 7.4: Report Error:
Step 7.5: Report Warning:
Step 7.6: Report Playback Position:
Step 7.7: Report Player Resolution:
Step 8: Fallback & Request Status
Step 8.1: Report Fallback Event:
Step 8.2: Report Request Status:
Step 9: Ad Data & Ad Events
Step 9.1: Report Ad Break Start & End:
Step 9.2: Report Ad Data, Ad Start & End:
Step 9.3: Report Ad Buffering:
Step 10: Custom Events
Release Notes
PreviousMediaMelon JS Custom SDK Integration DocumentNextMediaMelon Shaka Player SDK Integration Document
Last updated