Skip to content

v2.0.0

Compare
Choose a tag to compare
@dan-ziv dan-ziv released this 10 Jan 11:11
· 344 commits to master since this release

2.0.0 (2018-01-10)

Bug Fixes

Features

BREAKING CHANGES

API has been changed.

  • Provider constructor now gets (providerOptions: ProviderOptionsObject, playerVersion: string) when ProviderOptionsObject defined as:
{
  partnerId: number,
  logLevel?: string,
  ks?: string,
  uiConfId?: number,
  env?: ProviderEnvConfigObject
};
  • Change config API from getConfig() to getMediaConfig()
  • getMediaConfig API now gets (mediaInfo: ProviderMediaInfoObject) when ProviderMediaInfoObject defined as:

OVP media info

{
  entryId: string,
  ks?: string
};

OTT media info

{
  entryId: string,
  ks?: string,
  mediaType: string,
  contextType: string,
  protocol?: string,
  fileIds?: string
};