mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
3.0.5233.40306
This commit is contained in:
parent
57d8c433c5
commit
ea285c28ef
8 changed files with 106 additions and 155 deletions
|
@ -16,9 +16,10 @@
|
|||
|
||||
$('.btnCommand,.btnToggleFullscreen', page).on('click', function () {
|
||||
|
||||
currentPlayer.sendCommand({
|
||||
MediaController.sendCommand({
|
||||
Name: this.getAttribute('data-command')
|
||||
});
|
||||
|
||||
}, currentPlayer);
|
||||
});
|
||||
|
||||
$('.btnStop', page).on('click', function () {
|
||||
|
@ -79,9 +80,7 @@
|
|||
|
||||
player.endPlayerUpdates();
|
||||
|
||||
onStateChanged.call(player, e, state);
|
||||
|
||||
$('.itemName', page).html('');
|
||||
onStateChanged.call(player, e, {});
|
||||
}
|
||||
|
||||
function onStateChanged(e, state) {
|
||||
|
@ -220,6 +219,10 @@
|
|||
return;
|
||||
}
|
||||
|
||||
setImageUrl(page, url);
|
||||
}
|
||||
|
||||
function setImageUrl(page, url) {
|
||||
currentImgUrl = url;
|
||||
|
||||
$('.nowPlayingPageImage', page).html(url ? '<img src="' + url + '" />' : '');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue