Skip to content

Commit

Permalink
[bugfix/PLAYER-5272] seek to const
Browse files Browse the repository at this point in the history
  • Loading branch information
KseniiaSokolovaEpam committed Mar 6, 2019
1 parent c3ccdc1 commit ceaad59
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions js/google_ima.js
Original file line number Diff line number Diff line change
Expand Up @@ -2908,13 +2908,16 @@ require("../html5-common/js/utils/utils.js");
* @link https://groups.google.com/forum/#!topic/ima-sdk/zRNKpKNSukM
*/
const raisePlayhead = _.bind((eventname, currentTime, duration, buffer=1) => {
notifyIfInControl(eventname,
const seekRange = { begin: 0, end: 0 };
notifyIfInControl(
eventname,
{ "currentTime" : currentTime,
"duration" : duration,
"buffer" : buffer,
"seekRange" : { "begin" : 0, "end" : 0 } });
const seekRange = { begin: 0, end: 0};
notifyIfInControl(eventName, { currentTime, duration, buffer, seekRange });
"seekRange" : seekRange
}
);
}, this);
};

OO.Video.plugin(new GoogleIMAVideoFactory());
Expand Down

0 comments on commit ceaad59

Please sign in to comment.