From 35e181ea3a77fcffd02e83398e09afd04e9e1e6c Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Fri, 29 Aug 2025 17:25:39 +0000 Subject: [PATCH] Adjust video playback speed for smoother user experience Update default and fast playback speeds in the carousel component from 0.6/1.2 to 0.8/2.5. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2eb1084e-b728-4449-9231-f1665924c8d5/yexZbDm --- client/src/components/simple-carousel.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/simple-carousel.tsx b/client/src/components/simple-carousel.tsx index bbf5c76..f844757 100644 --- a/client/src/components/simple-carousel.tsx +++ b/client/src/components/simple-carousel.tsx @@ -29,7 +29,7 @@ export default function SimpleCarousel({ category, onVideoClick }: SimpleCarouse clearInterval(scrollIntervalRef.current); } - const speedValue = newSpeed === 'fast' ? 1.2 : 0.6; + const speedValue = newSpeed === 'fast' ? 2.5 : 0.8; scrollIntervalRef.current = setInterval(() => { if (!scrollContainerRef.current) return; @@ -54,7 +54,7 @@ export default function SimpleCarousel({ category, onVideoClick }: SimpleCarouse setCurrentDirection(direction); setSpeed('normal'); // Reset to normal speed when starting - const speedValue = 0.6; // Always start with normal speed + const speedValue = 0.8; // Always start with normal speed scrollIntervalRef.current = setInterval(() => { if (!scrollContainerRef.current) return;