seeked never triggers if video is paused

This commit is contained in:
j 2017-12-31 13:16:06 +01:00
parent 4544efc02c
commit de5f82045b

View file

@ -215,7 +215,7 @@ Ox.VideoElement = function(options, self) {
function isReady($video, callback) { function isReady($video, callback) {
if ($video[0].seeking) { if ($video[0].seeking && !self.paused) {
that.triggerEvent('seeking'); that.triggerEvent('seeking');
$video.one('seeked', function(event) { $video.one('seeked', function(event) {
that.triggerEvent('seeked'); that.triggerEvent('seeked');