Commit 53a00cb4 authored by Xiaowu Zhang's avatar Xiaowu Zhang

disable seek check when mse unsupport

parent 62545859
......@@ -161,6 +161,7 @@
}), loopEventListener(g.video, "ended", false, function() {
window.location = g.__element.getElementsByClassName("next")[0].href;
}), loopEventListener(g.video, "seeking", false, function(e) {
if (g.rebuild === false) {
if (g.buffedTime === undefined) {
g.video.currentTime = 0;
} else {
......@@ -168,6 +169,7 @@
g.video.currentTime = g.buffedTime;
}
}
}
}) ]);
});
});
......
......@@ -203,6 +203,7 @@
.getElementsByClassName("next")[0].href;
}),
loopEventListener(g.video, "seeking", false, function (e) {
if (g.rebuild === false) {
if (g.buffedTime === undefined) {
g.video.currentTime = 0;
} else {
......@@ -210,6 +211,7 @@
g.video.currentTime = g.buffedTime;
}
}
}
})
]);
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment