mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update stream selection
This commit is contained in:
parent
49f8917315
commit
2300b96924
7 changed files with 17 additions and 13 deletions
|
@ -132,7 +132,7 @@
|
||||||
var key = 'servertestermessagetime';
|
var key = 'servertestermessagetime';
|
||||||
var lastShown = parseInt(appSettings.get(key) || '0');
|
var lastShown = parseInt(appSettings.get(key) || '0');
|
||||||
|
|
||||||
if ((new Date().getTime() - lastShown) < 259200000) {
|
if ((new Date().getTime() - lastShown) < 172800000) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -166,6 +166,7 @@
|
||||||
-ms-overflow-style: none;
|
-ms-overflow-style: none;
|
||||||
overflow: -moz-scrollbars-none;
|
overflow: -moz-scrollbars-none;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
|
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.libraryViewNav::-webkit-scrollbar {
|
.libraryViewNav::-webkit-scrollbar {
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
.libraryViewNav {
|
.libraryViewNav a, paper-tab, paper-tab a {
|
||||||
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
|
font-weight: bold !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.libraryViewNav a, paper-tab {
|
|
||||||
font-weight: 500 !important;
|
|
||||||
}
|
|
|
@ -44,6 +44,10 @@
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.libraryViewNav {
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
.libraryViewNav a {
|
.libraryViewNav a {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
define(['imageLoader', 'jQuery', 'paper-icon-button', 'paper-button', 'emby-icons'], function (imageLoader, $) {
|
define(['imageLoader', 'layoutManager', 'jQuery', 'paper-icon-button', 'paper-button', 'emby-icons'], function (imageLoader, layoutManager, $) {
|
||||||
|
|
||||||
var mainDrawerPanel = document.querySelector('.mainDrawerPanel');
|
var mainDrawerPanel = document.querySelector('.mainDrawerPanel');
|
||||||
|
|
||||||
|
@ -933,7 +933,7 @@
|
||||||
viewMenuBar.classList.remove('hide');
|
viewMenuBar.classList.remove('hide');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (page.classList.contains('type-interior')) {
|
if (page.classList.contains('type-interior') && !layoutManager.mobile) {
|
||||||
viewMenuBar.classList.add('headroomDisabled');
|
viewMenuBar.classList.add('headroomDisabled');
|
||||||
} else {
|
} else {
|
||||||
viewMenuBar.classList.remove('headroomDisabled');
|
viewMenuBar.classList.remove('headroomDisabled');
|
||||||
|
|
|
@ -980,7 +980,7 @@
|
||||||
// Huge hack alert. Safari doesn't seem to like if the segments aren't available right away when playback starts
|
// Huge hack alert. Safari doesn't seem to like if the segments aren't available right away when playback starts
|
||||||
// This will start the transcoding process before actually feeding the video url into the player
|
// This will start the transcoding process before actually feeding the video url into the player
|
||||||
// Edit: Also seeing stalls from hls.js
|
// Edit: Also seeing stalls from hls.js
|
||||||
if ((browserInfo.safari || browserInfo.msie || browserInfo.firefox) && !mediaSource.RunTimeTicks && isHls) {
|
if (!mediaSource.RunTimeTicks && isHls) {
|
||||||
|
|
||||||
Dashboard.showLoadingMsg();
|
Dashboard.showLoadingMsg();
|
||||||
var hlsPlaylistUrl = streamInfo.url.replace('master.m3u8', 'live.m3u8');
|
var hlsPlaylistUrl = streamInfo.url.replace('master.m3u8', 'live.m3u8');
|
||||||
|
@ -992,7 +992,12 @@
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
Dashboard.hideLoadingMsg();
|
Dashboard.hideLoadingMsg();
|
||||||
streamInfo.url = hlsPlaylistUrl;
|
streamInfo.url = hlsPlaylistUrl;
|
||||||
self.playVideoInternal(item, mediaSource, startPosition, streamInfo, callback);
|
|
||||||
|
// add a delay to continue building up the buffer. without this we see failures in safari mobile
|
||||||
|
setTimeout(function () {
|
||||||
|
self.playVideoInternal(item, mediaSource, startPosition, streamInfo, callback);
|
||||||
|
}, 2000);
|
||||||
|
|
||||||
}, function () {
|
}, function () {
|
||||||
Dashboard.hideLoadingMsg();
|
Dashboard.hideLoadingMsg();
|
||||||
});
|
});
|
||||||
|
|
|
@ -2923,8 +2923,6 @@ var AppInfo = {};
|
||||||
deps.push('css!devices/ios/ios.css');
|
deps.push('css!devices/ios/ios.css');
|
||||||
} else if (AppInfo.isNativeApp && browserInfo.edge) {
|
} else if (AppInfo.isNativeApp && browserInfo.edge) {
|
||||||
deps.push('css!devices/windowsphone/wp.css');
|
deps.push('css!devices/windowsphone/wp.css');
|
||||||
} else if (!browserInfo.android) {
|
|
||||||
deps.push('css!devices/android/android.css');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
loadTheme();
|
loadTheme();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue