update osd

This commit is contained in:
Luke Pulverenti 2017-01-03 02:02:47 -05:00
parent 407f137095
commit 3e2ad02767
5 changed files with 17 additions and 8 deletions

View File

@ -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",

View File

@ -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:

View File

@ -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 {

View File

@ -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) {