feat(player): add timeline metadata and simplify controls
Continuous Integration / build_web (push) Failing after 1s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped

Show chapter ticks, intro/recap/credits bands and a subtitle-derived dialogue density lane on the seek bar. Reduce the control bar to playback, volume, subtitles and fullscreen; move the remaining actions to settings or the top bar.
This commit is contained in:
1xDed committed 2026-12-04 00:34:20 +03:00
1 parent 3e9e8698bc
commit 8ba09f9cfd
4 files changed
+275 -195

No files matched your search

-7
View File
@@ -203,11 +203,6 @@ function VideoPlayer() {
getVideoFitMode().then(setFitMode);
}, []);
const handleFitModeChange = useCallback((mode: VideoFitMode) => {
setFitMode(mode);
void setVideoFitMode(mode);
}, []);
const cycleFitMode = useCallback(() => {
setFitMode((current) => {
const next =
@@ -820,8 +815,6 @@ function VideoPlayer() {
// isVisible={areControlsVisible}
onHover={handleMouseMove}
onLeave={handleMouseLeave}
fitMode={fitMode}
onFitModeChange={handleFitModeChange}
/>
<SkipSegmentButton />
<VolumeChangeOverlay />