feat(video-player): add muted prop to VideoPlayer and handle mute state in playback

This commit is contained in:
2026-03-14 02:31:40 +01:00
parent 6c14c8f491
commit 953366ed63
2 changed files with 10 additions and 0 deletions

View File

@@ -482,6 +482,7 @@ function TvPageContent() {
className="absolute inset-0 h-full w-full"
initialOffset={broadcast ? calcOffsetSecs(broadcast.slot.start_at) : 0}
subtitleTrack={activeSubtitleTrack}
muted={isMuted}
onSubtitleTracksChange={setSubtitleTracks}
onStreamError={handleStreamError}
onEnded={handleVideoEnded}