mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge branch 'dev' of https://github.com/MediaBrowser/MediaBrowser into dev
This commit is contained in:
commit
5f5124b80c
3 changed files with 17 additions and 9 deletions
|
@ -176,7 +176,7 @@
|
||||||
padding: 5px 4px 2px;
|
padding: 5px 4px 2px;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: initial;
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cardOverlayInner {
|
.cardOverlayInner {
|
||||||
|
|
|
@ -524,7 +524,7 @@
|
||||||
return $.when(promises);
|
return $.when(promises);
|
||||||
}
|
}
|
||||||
|
|
||||||
var homePageDismissValue = '12';
|
var homePageDismissValue = '14';
|
||||||
var homePageTourKey = 'homePageTour';
|
var homePageTourKey = 'homePageTour';
|
||||||
|
|
||||||
function dismissWelcome(page, userId) {
|
function dismissWelcome(page, userId) {
|
||||||
|
@ -588,6 +588,9 @@
|
||||||
|
|
||||||
function loadConfigureViewsWelcomeMessage(page, userId) {
|
function loadConfigureViewsWelcomeMessage(page, userId) {
|
||||||
|
|
||||||
|
Dashboard.getCurrentUser().done(function (user) {
|
||||||
|
|
||||||
|
if (user.Policy.EnableUserPreferenceAccess) {
|
||||||
$('.btnMyPreferences', page).attr('href', 'mypreferencesdisplay.html?userId=' + userId);
|
$('.btnMyPreferences', page).attr('href', 'mypreferencesdisplay.html?userId=' + userId);
|
||||||
|
|
||||||
// Need the timeout because previous methods in the chain have popups that will be in the act of closing
|
// Need the timeout because previous methods in the chain have popups that will be in the act of closing
|
||||||
|
@ -597,6 +600,8 @@
|
||||||
|
|
||||||
}, 500);
|
}, 500);
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
$(document).on('pageinit', "#indexPage", function () {
|
$(document).on('pageinit', "#indexPage", function () {
|
||||||
|
|
||||||
|
|
|
@ -1039,13 +1039,16 @@
|
||||||
volumeSlider.val(initialVolume).slider('refresh');
|
volumeSlider.val(initialVolume).slider('refresh');
|
||||||
updateVolumeButtons(initialVolume);
|
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?
|
// 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
|
// Appending #t=xxx to the query string doesn't seem to work with HLS
|
||||||
if (startPositionInSeekParam && this.currentSrc && this.currentSrc.toLowerCase().indexOf('.m3u8') != -1) {
|
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) {
|
}).on("volumechange.mediaplayerevent", function (e) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue