mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
Merge branch 'dev' of https://github.com/MediaBrowser/MediaBrowser into dev
This commit is contained in:
commit
5f5124b80c
@ -176,7 +176,7 @@
|
||||
padding: 5px 4px 2px;
|
||||
text-shadow: none;
|
||||
font-weight: 400;
|
||||
line-height: initial;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.cardOverlayInner {
|
||||
|
@ -524,7 +524,7 @@
|
||||
return $.when(promises);
|
||||
}
|
||||
|
||||
var homePageDismissValue = '12';
|
||||
var homePageDismissValue = '14';
|
||||
var homePageTourKey = 'homePageTour';
|
||||
|
||||
function dismissWelcome(page, userId) {
|
||||
@ -588,14 +588,19 @@
|
||||
|
||||
function loadConfigureViewsWelcomeMessage(page, userId) {
|
||||
|
||||
$('.btnMyPreferences', page).attr('href', 'mypreferencesdisplay.html?userId=' + userId);
|
||||
Dashboard.getCurrentUser().done(function (user) {
|
||||
|
||||
// Need the timeout because previous methods in the chain have popups that will be in the act of closing
|
||||
setTimeout(function () {
|
||||
if (user.Policy.EnableUserPreferenceAccess) {
|
||||
$('.btnMyPreferences', page).attr('href', 'mypreferencesdisplay.html?userId=' + userId);
|
||||
|
||||
$('.popupConfigureViews', page).popup('open');
|
||||
// Need the timeout because previous methods in the chain have popups that will be in the act of closing
|
||||
setTimeout(function () {
|
||||
|
||||
}, 500);
|
||||
$('.popupConfigureViews', page).popup('open');
|
||||
|
||||
}, 500);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$(document).on('pageinit', "#indexPage", function () {
|
||||
|
@ -1039,13 +1039,16 @@
|
||||
volumeSlider.val(initialVolume).slider('refresh');
|
||||
updateVolumeButtons(initialVolume);
|
||||
|
||||
video.one("loadedmetadata.mediaplayerevent", function (e) {
|
||||
video.one("playing.mediaplayerevent", function (e) {
|
||||
|
||||
// TODO: This is not working in chrome. Is it too early?
|
||||
|
||||
// Appending #t=xxx to the query string doesn't seem to work with HLS
|
||||
if (startPositionInSeekParam && this.currentSrc && this.currentSrc.toLowerCase().indexOf('.m3u8') != -1) {
|
||||
this.currentTime = startPositionInSeekParam;
|
||||
var element = this;
|
||||
setTimeout(function () {
|
||||
element.currentTime = startPositionInSeekParam;
|
||||
}, 3000);
|
||||
}
|
||||
|
||||
}).on("volumechange.mediaplayerevent", function (e) {
|
||||
|
Loading…
Reference in New Issue
Block a user