Comcast PDK 6

This guide is for integrating the MediaMelon Player SDK for the javascript based Comcast PDK Web Version 6.4.5

Register and Initialize the MediaMelon Player SDK

CUSTOMER_ID is your MediaMelon-assigned Customer ID. If you do not know your Customer ID contact MediaMelon at support@mediamelon.com

Add the MediaMelon SDK Path, Customer ID, Subscriber Information and Video Asset Information in the HTML file as shown below:

<div id="player" class="tpPlayer" tp:fp.bgcolor="0x131313" tp:wmode="direct" tp:logLevel="debug"
        tp:plugin_mmpdk="priority=1|
        URL=PATH_TO_MEDIAMELON_SDK|
        CUSTID=CUTOMER_ID|
        SUBSCRIBER_ID=SUBSCRIBER_ID|
        SUBSCRIBER_TYPE=SUBSCRIBER_TYPE|
        SUBSCRIBER_TAG=SUBSCRIBER_TAG|
        DOMAIN_NAME=DOMAIN_NAME|
        PLAYER_NAME=PLAYER_NAME|
        deferred=false|
        VIDEO_ID=VIDEO_ID|
        CONTENT_TYPE=CONTENT_TYPE|
        DRM_PROTECTION=DRM_PROTECTION|
        EPISODE_NUMBER=EPISODE_NUMBER|
        GENRE=GENRE|
        SEASON=SEASON|
        ASSET_NAME=ASSET_NAME|
        ASSET_ID=ASSET_ID|
        SERIES_TITLE=SERIES_TITLE|
        TRACE=true">
</div>

Variable

Description

PATH_TO_MEDIAMELON_SDK

String containing AWS S3 url provided by MediaMelon.

PLAYER_NAME

String containing the Player Name.

CUSTOMER_ID

String containing your MediaMelon-assigned Customer ID.

SUBSCRIBER_ID

String containing your Subscriber’s ID. If you do not use subscriber IDs, enter null

DOMAIN_NAME

String containing your section of your subscriber or assets. (Optional)

SUBSCRIBER_TYPE

String containing the Subscriber Type (e.g. “Free”, “Paid”). If you do not use subscriber types, enter null

SUBSCRIBER_TAG

String containing an additional subscriber-specific information. This is sent in clear (not hashed) to SmartSight and it is advised to not send sensitive information in this field.

ASSET_ID

String containing Asset Id.

ASSET_NAME

String containing Asset Name.

VIDEO_ID

String containing your video’s ID. If you do not use videos IDs, enter null.

CONTENT_TYPE

String containing type of the Content. For example - "Movie", "Special", "Clip", "Scene Epis Lifts".

GENRE

String containing Genre of the content. For example - "Comedy", "Horror".

DRM_PROTECTION

Widevine, Fairplay, Playready etc. Unknown means content is protected, but protection type is unknown. For clear contents, do not set this field

EPISODE_NUMBER

String containing sequence number of the Episode.

SEASON

String containing the Season. For example - "Season1".

SERIES_TITLE

String containing Title of the Series.

VIDEO_TYPE

String containing Video Type. For example - "LIVE", "VOD".

Last updated