Skip to content

Conversation

@6Leoo6
Copy link

@6Leoo6 6Leoo6 commented Dec 10, 2025

Cause
In Chromium browsers the text track of the native player resets after each video/audio stream switch. Generally, the function prevents applying the same subtitles multiple times to the same track, but it fails to account for the scenario, where the active text tracks were reset. In this single case we should allow the reapplication of the same text track.

Changes
I've implemented a check to only return the function if the targeted track is truly active and the native text track wasn't reset.

Note
In Firefox based browsers this problem didn't occur, but my fix does not change the intended behavior there, rather implements a fail-safe.

Issues
Fixed #7417

@6Leoo6 6Leoo6 requested a review from a team as a code owner December 10, 2025 16:27
@jellyfin-bot
Copy link
Collaborator

jellyfin-bot commented Dec 10, 2025

Cloudflare Pages deployment

Latest commit 1f2ee18
Status ✅ Deployed!
Preview URL https://8ca4c423.jellyfin-web.pages.dev
Type 🔀 Preview

View build logs

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Previously active subtitles won't show up after changing bit rates

2 participants