1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Backport pull request #6317 from jellyfin-web/release-10.10.z

Fix secondary audio on Tizen 8

Original-merge: e15d700d40

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: thornbill <thornbill@users.noreply.github.com>
This commit is contained in:
dmitrylyzo 2025-01-22 03:12:38 -05:00 committed by thornbill
parent 0065f165cb
commit 73d3892495

View file

@ -463,7 +463,8 @@ export function canPlaySecondaryAudio(videoTestElement) {
// It doesn't work in Firefox 108 even with "media.track.enabled" enabled (it only sees the first audio track)
&& !browser.firefox
// It seems to work on Tizen 5.5+ (2020, Chrome 69+). See https://developer.tizen.org/forums/web-application-development/video-tag-not-work-audiotracks
&& (browser.tizenVersion >= 5.5 || !browser.tizen)
// There are reports that additional audio track (AudioTrack API) doesn't work on Tizen 8.
&& (browser.tizenVersion >= 5.5 && browser.tizenVersion < 8 || !browser.tizen)
&& (browser.web0sVersion >= 4.0 || !browser.web0sVersion);
}