mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Show a different icon when the player is paused
This commit is contained in:
parent
408b7c011a
commit
efb4a92ba6
3 changed files with 6 additions and 0 deletions
BIN
src/assets/img/equalizer-paused.gif
Normal file
BIN
src/assets/img/equalizer-paused.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 153 B |
|
@ -525,6 +525,7 @@ export default function () {
|
|||
if (img) {
|
||||
img.classList.remove('lazy');
|
||||
img.classList.add('playlistIndexIndicatorImage');
|
||||
img.classList.toggle('playlistIndexIndicatorPausedImage', playbackManager.paused());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -598,6 +599,7 @@ export default function () {
|
|||
|
||||
function onPlayPauseStateChanged() {
|
||||
updatePlayPauseState(this.paused(), true);
|
||||
onPlaylistUpdate();
|
||||
}
|
||||
|
||||
function onStateChanged(event, state) {
|
||||
|
|
|
@ -452,6 +452,10 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
.playlistIndexIndicatorImage.playlistIndexIndicatorPausedImage {
|
||||
background-image: url(../../assets/img/equalizer-paused.gif) !important;
|
||||
}
|
||||
|
||||
.hideVideoButtons .videoButton {
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue