mm-kaltura-sdk

1.0.2 • Public • Published

mediamelon-kaltura-sdk

Getting Started

var config = {
  ...
  plugins: {
    mediaMelonKPPlugin: {            
      customerId: 'CUSTOMER_ID',
      domainName: 'DOMAIN_NAME',
      subscriberTag: 'SUBSCRIBER_TAG',
      subscriberId: 'SUBSCRIBER_ID',
      subscriberType: 'SUBSCRIBER_TYPE',
      playerName: 'PLAYER_NAME',
      playerVersion: 'PLAYER_VERSION',
      playerBrand: 'PLAYER_BRAND',
      playerModel: 'PLAYER_MODEL',
      videoAssetInfo: {
        assetId: 'ASSET_ID',
        assetName: 'ASSET_NAME',
        videoId: 'VIDEO_ID',
        seriesTitle: 'SERIES_TITLE',
        episodeNumber: 'EPISODE_NUMBER',
        season: 'SEASON',
        contentType: 'CONTENT_TYPE',
        drmProtection: 'DRM_PROTECTION',
        genre: 'GENRE',
      },            
      appName: 'APP_NAME',
      appVersion: 'APP_VERSION',
      deviceMarketingName: 'DEVICE_MARKETING_NAME',
      videoQuality: 'VIDEO_QUALITY',
      deviceId: 'DEVICE_ID',
      videoQuality: "VIDEO_QUALITY",
      customTags: {
        'KEY1' : "VALUE1",
        'KEY2' : "VALUE2"
      }
    }
  }
  ...
};

var player = KalturaPlayer.setup(config);

Readme

Keywords

none

Package Sidebar

Install

npm i mm-kaltura-sdk

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

225 kB

Total Files

4

Last publish

Collaborators

  • mediamelon