Merge pull request #2050 from jellyfin/jf-2049-subtitle-on-but-not-showing

This commit is contained in:
Charles Ewert 2024-11-16 16:33:52 -05:00 committed by GitHub
commit 7927d49266
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -466,8 +466,8 @@ sub onVideoContentLoaded()
' If IsForced, make sure to remember the Roku global setting so we
' can set it back when the video is done playing.
m.originalClosedCaptionState = m.top.globalCaptionMode
m.top.globalCaptionMode = "On"
end if
m.top.globalCaptionMode = "On"
m.top.subtitleTrack = m.top.availableSubtitleTracks[availableSubtitleTrackIndex].TrackName
end if
end if