Skip to content

Commit

Permalink
fix(FEC-7907, FEC-7872): No play button when preload=auto and ima plu…
Browse files Browse the repository at this point in the history
…gin enabled (#91)

raise a flag once loadMedia is invoked. see kaltura/playkit-js#193
  • Loading branch information
yairans authored and Dan Ziv committed Feb 19, 2018
1 parent 3d283e7 commit 58b0dec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/kaltura-player.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export default class KalturaPlayer {

loadMedia(mediaInfo: ProviderMediaInfoObject): Promise<*> {
this._logger.debug('loadMedia', mediaInfo);
this._player.loadingMedia = true;
setUIErrorOverlayConfig(mediaInfo, this._uiManager);
return this._provider.getMediaConfig(mediaInfo)
.then(mediaConfig => {
Expand Down

0 comments on commit 58b0dec

Please sign in to comment.