Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat(web): allow disabling CapVideoPlayer playback speed dial
Richie McIlroy398b9953ff5d
diff --git a/apps/web/app/s/[videoId]/_components/CapVideoPlayer.tsx b/apps/web/app/s/[videoId]/_components/CapVideoPlayer.tsxindex 49578e5f5..efdf063dc 100644--- a/apps/web/app/s/[videoId]/_components/CapVideoPlayer.tsx+++ b/apps/web/app/s/[videoId]/_components/CapVideoPlayer.tsx@@ -94,6 +94,7 @@ interface Props {disableCommentStamps?: boolean;disableReactionStamps?: boolean;disablePreviewGif?: boolean;+ disablePlaybackSpeedDial?: boolean;comments?: Array<{id: string;timestamp: number | null;@@ -134,6 +135,7 @@ export function CapVideoPlayer({disableCommentStamps = false,disableReactionStamps = false,disablePreviewGif = false,+ disablePlaybackSpeedDial = false,onSeek,enhancedAudioUrl: _enhancedAudioUrl,enhancedAudioStatus: _enhancedAudioStatus,@@ -767,7 +769,8 @@ export function CapVideoPlayer({videoLoaded &&!hasActiveProgress &&!showUploadFailureOverlay &&- !showPlaybackResolutionError && (+ !showPlaybackResolutionError &&+ !disablePlaybackSpeedDial && (<MediaPlayerPlaybackSpeedDialdefaultSpeed={defaultPlaybackSpeed}fallbackDuration={playerDuration}