Embed: mews: fix for playback of VoD that don't start at time 0
This commit is contained in:
parent
3cf0070121
commit
7ecb799d94
2 changed files with 2 additions and 1 deletions
File diff suppressed because one or more lines are too long
|
@ -755,6 +755,7 @@ p.prototype.build = function (MistVideo,callback) {
|
|||
}
|
||||
else if (e.data.current > video.currentTime) {
|
||||
player.sb.paused = false;
|
||||
video.currentTime = e.data.current*1e-3;
|
||||
video.play().then(resolve).catch(reject);
|
||||
player.ws.removeListener("on_time",f);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue