From f72f5c100badb8ad744a20b9110f9f5e7a9bf774 Mon Sep 17 00:00:00 2001 From: StarKnightt Date: Mon, 23 Jun 2025 20:01:12 +0530 Subject: Add video speed control and improve playback smoothness Added a speed control dropdown in the timeline toolbar that lets users change video playback speed between 0.5x to 2x. The dropdown shows the current speed and offers preset options. Made video playback smoother by: - Using better timing for speed changes - Improving video synchronization - Reducing playback stutters - Making speed changes more responsive The speed control is now easily accessible while editing and works smoothly with all video clips. --- apps/web/src/types/playback.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/web/src/types') diff --git a/apps/web/src/types/playback.ts b/apps/web/src/types/playback.ts index 88113ef3..3fbd1a02 100644 --- a/apps/web/src/types/playback.ts +++ b/apps/web/src/types/playback.ts @@ -3,6 +3,7 @@ export interface PlaybackState { currentTime: number; duration: number; volume: number; + speed: number; } export interface PlaybackControls { @@ -10,5 +11,6 @@ export interface PlaybackControls { pause: () => void; seek: (time: number) => void; setVolume: (volume: number) => void; + setSpeed: (speed: number) => void; toggle: () => void; } \ No newline at end of file -- cgit v1.3.1