Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(FEC-11611): Pass the program ID when sending a bookmark #504

Merged
merged 13 commits into from
Nov 9, 2021
13 changes: 13 additions & 0 deletions src/kaltura-player.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,19 @@ class KalturaPlayer extends FakeEventTarget {
return Utils.Object.copyDeep(mediaConfig);
}

/**
* Config the player.
* @param {ProviderMediaConfigMetadataObject} sourcesMetadata - The player sources metadata config.
* @returns {void}
* @instance
* @memberof KalturaPlayer
* @example
* kalturaPlayer.setSourcesMetaData({epgId: 1234});
*/
setSourcesMetadata(sourcesMetadata: ProviderMediaConfigMetadataObject): void {
JonathanTGold marked this conversation as resolved.
Show resolved Hide resolved
this._localPlayer.setSourcesMetadata(sourcesMetadata);
}

/**
* Config the player.
* @param {Object} [config={}] - The player config.
Expand Down