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) {
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) {

View File

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