diff --git a/client/src/pages/VideoPage.tsx b/client/src/pages/VideoPage.tsx index 91ec3b3..9a7e141 100644 --- a/client/src/pages/VideoPage.tsx +++ b/client/src/pages/VideoPage.tsx @@ -410,6 +410,7 @@ export default function VideoPage() { onTouchStart={handleTouchStart} onTouchMove={handleTouchMove} onTouchEnd={handleTouchEnd} + style={{ touchAction: 'pan-y pinch-zoom' }} > {/* Navigation arrows - hidden on mobile, visible on desktop */} {allVideos.length > 1 && ( @@ -440,6 +441,17 @@ export default function VideoPage() { )} + {/* Touch overlay for mobile swipe detection */} +
{currentVideo.videoUrlIframe ? (