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

Add Tizen version check

This commit is contained in:
Dmitry Lyzo 2020-03-22 20:18:27 +03:00
parent 603472cfb6
commit d6ab058661
2 changed files with 4 additions and 1 deletions

View file

@ -216,7 +216,7 @@ define(['browser'], function (browser) {
supported = browser.tizen || browser.orsay || browser.web0s || browser.edgeUwp;
// New Samsung TV don't support XviD/DivX
// Explicitly add supported codecs to make other codecs be transcoded
if (browser.tizen) {
if (browser.tizenVersion >= 4) {
videoCodecs.push('h264');
if (canPlayH265(videoTestElement, options)) {
videoCodecs.push('h265');