mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update video osd
This commit is contained in:
parent
84679843fe
commit
93ae2c18db
10 changed files with 123 additions and 39 deletions
|
@ -560,6 +560,10 @@
|
|||
|
||||
imageLoader.lazyImage(nowPlayingImageElement, url);
|
||||
|
||||
userdataButtons.destroy({
|
||||
element: nowPlayingUserData
|
||||
});
|
||||
|
||||
if (nowPlayingItem.Id) {
|
||||
ApiClient.getItem(Dashboard.getCurrentUserId(), nowPlayingItem.Id).then(function (item) {
|
||||
userdataButtons.fill({
|
||||
|
@ -568,10 +572,6 @@
|
|||
element: nowPlayingUserData
|
||||
});
|
||||
});
|
||||
} else {
|
||||
userdataButtons.destroy({
|
||||
element: nowPlayingUserData
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue