mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 09:36:08 +00:00
Merge pull request #39 from yusufipk/worktree-frame-counter
feat(player): add frame counter when scrubbing and seeking
This commit is contained in:
@@ -91,6 +91,7 @@ export function VideoPageContent({
|
||||
const timelineRef = useRef<HTMLDivElement>(null);
|
||||
const progressRef = useRef<HTMLDivElement>(null);
|
||||
const playheadRef = useRef<HTMLDivElement>(null);
|
||||
const scrubReadoutRef = useRef<HTMLDivElement>(null);
|
||||
const videoContainerRef = useRef<HTMLDivElement>(null);
|
||||
const pathname = usePathname();
|
||||
const scheduleWatchProgressSaveRef = useRef<
|
||||
@@ -312,6 +313,7 @@ export function VideoPageContent({
|
||||
isMuted,
|
||||
isFrameMode,
|
||||
frameStepLabel,
|
||||
showScrubReadout,
|
||||
playbackSpeed,
|
||||
qualityOptions,
|
||||
selectedQualityLevel,
|
||||
@@ -347,8 +349,10 @@ export function VideoPageContent({
|
||||
timelineRef,
|
||||
progressRef,
|
||||
playheadRef,
|
||||
scrubReadoutRef,
|
||||
hlsRef,
|
||||
playerRef,
|
||||
formatTime,
|
||||
formatBunnyQualityLabel,
|
||||
speedOptions: SPEED_OPTIONS,
|
||||
scheduleWatchProgressSaveRef,
|
||||
@@ -773,7 +777,9 @@ export function VideoPageContent({
|
||||
timelineRef={timelineRef}
|
||||
progressRef={progressRef}
|
||||
playheadRef={playheadRef}
|
||||
scrubReadoutRef={scrubReadoutRef}
|
||||
videoContainerRef={videoContainerRef}
|
||||
showScrubReadout={showScrubReadout}
|
||||
isFullscreenMode={isFullscreenMode}
|
||||
cursorIdle={cursorIdle}
|
||||
isPlaying={isPlaying}
|
||||
|
||||
Reference in New Issue
Block a user