diff --git a/src/player.js b/src/player.js index 45c4ede..1e712b5 100644 --- a/src/player.js +++ b/src/player.js @@ -593,6 +593,7 @@ export function seekTo(e) { if (fill) { fill.style.transition = 'none'; fill.style.width = (pos * 100) + '%'; } S._scrubbing = true; if (HAS_BRIDGE) { + _setSkipping(); _nsBridge('seekTo', Math.round(pos * _lastDurationMs)); const done = () => { S._scrubbing = false; requestAnimationFrame(() => { if (fill) fill.style.transition = ''; }); }; setTimeout(done, 500); @@ -626,6 +627,7 @@ function _initBarScrub(bar, fill, onMove) { fill.style.width = (pos * 100) + '%'; const dur = _dur(); if (HAS_BRIDGE) { + _setSkipping(); _nsBridge('seekTo', Math.round(pos * _lastDurationMs)); S._scrubbing = false; requestAnimationFrame(() => { fill.style.transition = ''; });