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

Add proper checks for DTS

This commit is contained in:
MrTimscampi 2020-06-09 20:22:08 +02:00
parent 814b96799c
commit 6fab78d49f

View file

@ -366,7 +366,11 @@ define(['browser'], function (browser) {
videoAudioCodecs.push('mp2');
}
<<<<<<< HEAD
var supportsDts = browser.tizen || browser.web0s || options.supportsDts;
=======
var supportsDts = browser.tizen || browser.web0s || options.supportsDts || videoTestElement.canPlayType('video/mp4; codecs="dts-"') || videoTestElement.canPlayType('video/mp4; codecs="dts+"');
>>>>>>> 3706d4884... Add proper checks for DTS
// DTS audio not supported in 2018 models (Tizen 4.0)
if (browser.tizenVersion >= 4) {