1
0
Fork 0
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:
Vincent Lark 2023-10-19 19:18:03 +02:00 committed by Bill Thornton
parent 408b7c011a
commit efb4a92ba6
3 changed files with 6 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

View file

@ -525,6 +525,7 @@ export default function () {
if (img) { if (img) {
img.classList.remove('lazy'); img.classList.remove('lazy');
img.classList.add('playlistIndexIndicatorImage'); img.classList.add('playlistIndexIndicatorImage');
img.classList.toggle('playlistIndexIndicatorPausedImage', playbackManager.paused());
} }
} }
@ -598,6 +599,7 @@ export default function () {
function onPlayPauseStateChanged() { function onPlayPauseStateChanged() {
updatePlayPauseState(this.paused(), true); updatePlayPauseState(this.paused(), true);
onPlaylistUpdate();
} }
function onStateChanged(event, state) { function onStateChanged(event, state) {

View file

@ -452,6 +452,10 @@
display: none; display: none;
} }
.playlistIndexIndicatorImage.playlistIndexIndicatorPausedImage {
background-image: url(../../assets/img/equalizer-paused.gif) !important;
}
.hideVideoButtons .videoButton { .hideVideoButtons .videoButton {
display: none; display: none;
} }