diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index 0a786b1e5a..87ea668dc9 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.432", - "_release": "1.4.432", + "version": "1.4.434", + "_release": "1.4.434", "_resolution": { "type": "version", - "tag": "1.4.432", - "commit": "c3372557ec7525f1dafea755825bc6a0b353a8e6" + "tag": "1.4.434", + "commit": "7272c3f5081280de5b30ba3cdbe90c1a925dd96a" }, "_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_target": "^1.2.1", diff --git a/dashboard-ui/bower_components/emby-webcomponents/htmlvideoplayer/plugin.js b/dashboard-ui/bower_components/emby-webcomponents/htmlvideoplayer/plugin.js index b23456a9b0..6edd72ad10 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/htmlvideoplayer/plugin.js +++ b/dashboard-ui/bower_components/emby-webcomponents/htmlvideoplayer/plugin.js @@ -42,7 +42,7 @@ define(['browser', 'pluginManager', 'events', 'apphost', 'loading', 'playbackMan } function getBaseProfileOptions(item) { - + var disableHlsVideoAudioCodecs = []; if (!canPlayNativeHls() || (browser.edge && !item.RunTimeTicks)) { // hls.js does not support these @@ -196,7 +196,9 @@ define(['browser', 'pluginManager', 'events', 'apphost', 'loading', 'playbackMan requireHlsPlayer(function () { var hls = new Hls({ - manifestLoadingTimeOut: 20000 + manifestLoadingTimeOut: 20000, + //appendErrorMaxRetry: 6, + //debug: true }); hls.loadSource(val); hls.attachMedia(elem); @@ -205,6 +207,9 @@ define(['browser', 'pluginManager', 'events', 'apphost', 'loading', 'playbackMan }); hls.on(Hls.Events.ERROR, function (event, data) { + + console.log('HLS Error: Type: ' + data.type + ' Details: ' + (data.details || '') + ' Fatal: ' + data.fatal); + if (data.fatal) { switch (data.type) { case Hls.ErrorTypes.NETWORK_ERROR: diff --git a/dashboard-ui/bower_components/emby-webcomponents/htmlvideoplayer/style.css b/dashboard-ui/bower_components/emby-webcomponents/htmlvideoplayer/style.css index d057716805..86327e2ed4 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/htmlvideoplayer/style.css +++ b/dashboard-ui/bower_components/emby-webcomponents/htmlvideoplayer/style.css @@ -6,14 +6,18 @@ right: 0; display: flex; align-items: center; - background: #000 !important; } + .videoPlayerContainer:not(.videoPlayerContainer-withBackdrop) { + background: #000 !important; + } + .videoPlayerContainer-withBackdrop { background-repeat: no-repeat; background-position: center center; background-size: cover; background-attachment: fixed; + background-color: #000; } .videoPlayerContainer-onTop { diff --git a/dashboard-ui/components/remotecontrolautoplay.js b/dashboard-ui/bower_components/emby-webcomponents/playback/remotecontrolautoplay.js similarity index 100% rename from dashboard-ui/components/remotecontrolautoplay.js rename to dashboard-ui/bower_components/emby-webcomponents/playback/remotecontrolautoplay.js diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index ac674442db..667970b338 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -2695,7 +2695,7 @@ var AppInfo = {}; postInitDependencies.push('scripts/nowplayingbar'); - postInitDependencies.push('components/remotecontrolautoplay'); + postInitDependencies.push('bower_components/emby-webcomponents/playback/remotecontrolautoplay'); // Prefer custom font over Segoe if on desktop windows if (!browserInfo.mobile && navigator.userAgent.toLowerCase().indexOf('windows') != -1) {