diff --git a/src/view/com/util/post-embeds/VideoEmbedInner/VideoWebControls.tsx b/src/view/com/util/post-embeds/VideoEmbedInner/VideoWebControls.tsx index f2f2f719..2ff2f651 100644 --- a/src/view/com/util/post-embeds/VideoEmbedInner/VideoWebControls.tsx +++ b/src/view/com/util/post-embeds/VideoEmbedInner/VideoWebControls.tsx @@ -253,7 +253,7 @@ export function Controls({ style={a.flex_1} onPress={onPressEmptySpace} /> - {active && !showControls && !focused && ( + {active && !showControls && !focused && duration > 0 && ( )} { - isSeekingRef.current = false - onSeekEnd() - setScrubberActive(false) - }, - {signal}, - ) - return () => { document.body.classList.remove('force-no-clicks') - abortController.abort() } } }, [scrubberActive, onSeekEnd]) @@ -548,7 +535,8 @@ function Scrubber({ }} onPointerDown={onPointerDown} onPointerMove={onPointerMove} - onPointerUp={onPointerUp}> + onPointerUp={onPointerUp} + onPointerCancel={onPointerUp}>