diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index be4b7f8d1e..f1bd121698 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/.bower.json +++ b/dashboard-ui/bower_components/emby-webcomponents/.bower.json @@ -14,12 +14,12 @@ }, "devDependencies": {}, "ignore": [], - "version": "1.4.333", - "_release": "1.4.333", + "version": "1.4.334", + "_release": "1.4.334", "_resolution": { "type": "version", - "tag": "1.4.333", - "commit": "abb2fe3a9bac2638a815d6b44a8ebfb967d77722" + "tag": "1.4.334", + "commit": "6f1606bb05f1cabf7cc36cfd77185496e8472b0e" }, "_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_target": "^1.2.1", diff --git a/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js b/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js index 3f7b21e1d9..791c765aed 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js +++ b/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js @@ -159,7 +159,7 @@ define(['browser'], function (browser) { break; case 'mpg': case 'mpeg': - supported = browser.edgeUwp; + supported = browser.edgeUwp || browser.tizen; break; case '3gp': case 'flv': @@ -492,6 +492,8 @@ define(['browser'], function (browser) { profile.CodecProfiles = []; + var supportsSecondaryAudio = browser.tizen; + // Handle he-aac not supported if (!videoTestElement.canPlayType('video/mp4; codecs="avc1.640029, mp4a.40.5"').replace(/no/, '')) { profile.CodecProfiles.push({ @@ -507,7 +509,24 @@ define(['browser'], function (browser) { Condition: 'LessThanEqual', Property: 'AudioBitrate', Value: '128000' - }, + } + ] + }); + + if (!supportsSecondaryAudio) { + profile.CodecProfiles[profile.CodecProfiles.length - 1].Conditions.push({ + Condition: 'Equals', + Property: 'IsSecondaryAudio', + Value: 'false', + IsRequired: 'false' + }); + } + } + + if (!supportsSecondaryAudio) { + profile.CodecProfiles.push({ + Type: 'VideoAudio', + Conditions: [ { Condition: 'Equals', Property: 'IsSecondaryAudio', @@ -518,18 +537,6 @@ define(['browser'], function (browser) { }); } - profile.CodecProfiles.push({ - Type: 'VideoAudio', - Conditions: [ - { - Condition: 'Equals', - Property: 'IsSecondaryAudio', - Value: 'false', - IsRequired: 'false' - } - ] - }); - var maxLevel = '41'; if (browser.chrome && !browser.mobile) {