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

Don't use AudioTrack API on Tizen 8+

This commit is contained in:
Dmitry Lyzo 2024-11-12 22:48:49 +03:00 committed by Dmitry Lyzo
parent 92e8821003
commit a91e44828b

View file

@ -462,7 +462,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);
}