diff --git a/src/player.js b/src/player.js index d5d0aae..4cd923f 100644 --- a/src/player.js +++ b/src/player.js @@ -711,7 +711,10 @@ function _initBarScrub(bar, fill, onMove, noTouch = false) { fill.style.transition = ''; } } - if (!noTouch) { + if (noTouch) { + // Block all touch input (including synthetic mousedown the browser fires after a tap). + bar.addEventListener('touchstart', e => { e.preventDefault(); }, { passive: false }); + } else { // Touch: require ≥8px horizontal drag before committing to scrub. // A plain tap cancels cleanly without seeking. let _touchStartX = 0, _touchMoved = false;