diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index abce071a6a..484d9012ea 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/.bower.json +++ b/dashboard-ui/bower_components/emby-webcomponents/.bower.json @@ -15,12 +15,12 @@ }, "devDependencies": {}, "ignore": [], - "version": "1.0.74", - "_release": "1.0.74", + "version": "1.0.76", + "_release": "1.0.76", "_resolution": { "type": "version", - "tag": "1.0.74", - "commit": "74afb337ff5f0ee41b75ba5ddb5dea5ec9c20a66" + "tag": "1.0.76", + "commit": "8b29590144a9a67065820c7c1a6a4f433f52d9bf" }, "_source": "git://github.com/MediaBrowser/emby-webcomponents.git", "_target": "~1.0.0", diff --git a/dashboard-ui/bower_components/emby-webcomponents/browser.js b/dashboard-ui/bower_components/emby-webcomponents/browser.js index 3194e5e182..359a484223 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/browser.js +++ b/dashboard-ui/bower_components/emby-webcomponents/browser.js @@ -20,13 +20,17 @@ var browser = match[1] || ""; - if (ua.indexOf("windows phone") != -1 || ua.indexOf("iemobile") != -1) { + if (browser == "edge") { + platform_match = [""]; + } else { + if (ua.indexOf("windows phone") != -1 || ua.indexOf("iemobile") != -1) { - // http://www.neowin.net/news/ie11-fakes-user-agent-to-fool-gmail-in-windows-phone-81-gdr1-update - browser = "msie"; - } - else if (ua.indexOf("like gecko") != -1 && ua.indexOf('webkit') == -1 && ua.indexOf('opera') == -1 && ua.indexOf('chrome') == -1 && ua.indexOf('safari') == -1) { - browser = "msie"; + // http://www.neowin.net/news/ie11-fakes-user-agent-to-fool-gmail-in-windows-phone-81-gdr1-update + browser = "msie"; + } + else if (ua.indexOf("like gecko") != -1 && ua.indexOf('webkit') == -1 && ua.indexOf('opera') == -1 && ua.indexOf('chrome') == -1 && ua.indexOf('safari') == -1) { + browser = "msie"; + } } if (browser == 'opr') { diff --git a/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js b/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js index 535f2023f3..8eee7ee7c1 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js +++ b/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js @@ -103,6 +103,7 @@ define(['browser'], function (browser) { profile.DirectPlayProfiles = []; var videoAudioCodecs = []; + var hlsVideoAudioCodecs = []; var supportsMp3VideoAudio = videoTestElement.canPlayType('video/mp4; codecs="avc1.640029, mp4a.69"').replace(/no/, '') || videoTestElement.canPlayType('video/mp4; codecs="avc1.640029, mp4a.6B"').replace(/no/, ''); @@ -113,19 +114,27 @@ define(['browser'], function (browser) { // safari is lying if (!browser.safari) { videoAudioCodecs.push('ac3'); + + // This works in edge desktop, but not mobile + if (!browser.edge || !browser.mobile) { + hlsVideoAudioCodecs.push('ac3'); + } } } if (canPlayMkv) { if (supportsMp3VideoAudio) { videoAudioCodecs.push('mp3'); + hlsVideoAudioCodecs.push('mp3'); } } if (videoTestElement.canPlayType('video/mp4; codecs="avc1.640029, mp4a.40.2"').replace(/no/, '')) { videoAudioCodecs.push('aac'); + hlsVideoAudioCodecs.push('aac'); } if (!canPlayMkv) { if (supportsMp3VideoAudio) { videoAudioCodecs.push('mp3'); + hlsVideoAudioCodecs.push('mp3'); } } @@ -197,7 +206,7 @@ define(['browser'], function (browser) { profile.TranscodingProfiles.push({ Container: 'ts', Type: 'Video', - AudioCodec: videoAudioCodecs.join(','), + AudioCodec: hlsVideoAudioCodecs.join(','), VideoCodec: 'h264', Context: 'Streaming', Protocol: 'hls' diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 0bad35c621..43d3c0d352 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -2215,7 +2215,7 @@ // cardContent html += ''; - if (options.overlayPlayButton && !item.IsPlaceHolder && (item.LocationType != 'Virtual' || !item.MediaType || item.Type == 'Program')) { + if (options.overlayPlayButton && !item.IsPlaceHolder && (item.LocationType != 'Virtual' || !item.MediaType || item.Type == 'Program') && item.Type != 'Person') { html += '