fix: try to show progress bar in Android notification
This commit is contained in:
parent
e67a444258
commit
da13a52b2a
1 changed files with 2 additions and 0 deletions
|
|
@ -33,12 +33,14 @@ export function initializePlayerEvents(player, audioPlayer, scrobbler) {
|
|||
}
|
||||
playPauseBtn.innerHTML = SVG_PAUSE;
|
||||
player.updateMediaSessionPlaybackState();
|
||||
player.updateMediaSessionPositionState();
|
||||
updateTabTitle(player);
|
||||
});
|
||||
|
||||
audioPlayer.addEventListener('pause', () => {
|
||||
playPauseBtn.innerHTML = SVG_PLAY;
|
||||
player.updateMediaSessionPlaybackState();
|
||||
player.updateMediaSessionPositionState();
|
||||
});
|
||||
|
||||
audioPlayer.addEventListener('ended', () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue