mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
update stream selection
This commit is contained in:
parent
49f8917315
commit
2300b96924
@ -132,7 +132,7 @@
|
||||
var key = 'servertestermessagetime';
|
||||
var lastShown = parseInt(appSettings.get(key) || '0');
|
||||
|
||||
if ((new Date().getTime() - lastShown) < 259200000) {
|
||||
if ((new Date().getTime() - lastShown) < 172800000) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -166,6 +166,7 @@
|
||||
-ms-overflow-style: none;
|
||||
overflow: -moz-scrollbars-none;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.libraryViewNav::-webkit-scrollbar {
|
||||
|
@ -1,7 +1,3 @@
|
||||
.libraryViewNav {
|
||||
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
|
||||
.libraryViewNav a, paper-tab, paper-tab a {
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.libraryViewNav a, paper-tab {
|
||||
font-weight: 500 !important;
|
||||
}
|
@ -44,6 +44,10 @@
|
||||
background-color: #000;
|
||||
}
|
||||
|
||||
.libraryViewNav {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.libraryViewNav a {
|
||||
font-weight: 400;
|
||||
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');
|
||||
|
||||
@ -933,7 +933,7 @@
|
||||
viewMenuBar.classList.remove('hide');
|
||||
}
|
||||
|
||||
if (page.classList.contains('type-interior')) {
|
||||
if (page.classList.contains('type-interior') && !layoutManager.mobile) {
|
||||
viewMenuBar.classList.add('headroomDisabled');
|
||||
} else {
|
||||
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
|
||||
// This will start the transcoding process before actually feeding the video url into the player
|
||||
// Edit: Also seeing stalls from hls.js
|
||||
if ((browserInfo.safari || browserInfo.msie || browserInfo.firefox) && !mediaSource.RunTimeTicks && isHls) {
|
||||
if (!mediaSource.RunTimeTicks && isHls) {
|
||||
|
||||
Dashboard.showLoadingMsg();
|
||||
var hlsPlaylistUrl = streamInfo.url.replace('master.m3u8', 'live.m3u8');
|
||||
@ -992,7 +992,12 @@
|
||||
}).then(function () {
|
||||
Dashboard.hideLoadingMsg();
|
||||
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 () {
|
||||
Dashboard.hideLoadingMsg();
|
||||
});
|
||||
|
@ -2923,8 +2923,6 @@ var AppInfo = {};
|
||||
deps.push('css!devices/ios/ios.css');
|
||||
} else if (AppInfo.isNativeApp && browserInfo.edge) {
|
||||
deps.push('css!devices/windowsphone/wp.css');
|
||||
} else if (!browserInfo.android) {
|
||||
deps.push('css!devices/android/android.css');
|
||||
}
|
||||
|
||||
loadTheme();
|
||||
|
Loading…
Reference in New Issue
Block a user