Skip to content

Commit

Permalink
fix: remove non existing method in uiManager
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Ziv committed Dec 6, 2017
1 parent 6a1c6c8 commit 89da254
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/kaltura-player.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default class KalturaPlayer {

loadMedia(entryId: string, uiConfId: ?number): Promise<*> {
this._logger.debug('loadMedia', {entryId: entryId, uiConfId: uiConfId});
this._uiManager.setConfig({entryId: entryId}, "errorOverlay");
this._uiManager.setConfig({entryId: entryId}, 'errorOverlay');
return this._provider.getConfig(entryId, uiConfId)
.then((data) => {
const dimensions = this._player.dimensions;
Expand All @@ -38,7 +38,6 @@ export default class KalturaPlayer {
addKalturaParams(data.sources, this._player);
Utils.Object.mergeDeep(data.plugins, this._player.config.plugins);
Utils.Object.mergeDeep(data.session, this._player.config.session);
this._uiManager.setSessionId(data.session.id);
evaluatePluginsConfig(data);
this._player.configure(data);
}).catch(e => {
Expand Down

0 comments on commit 89da254

Please sign in to comment.