mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
fix changestream
This commit is contained in:
parent
8c10f27035
commit
b2d9967968
@ -245,7 +245,7 @@
|
||||
itemVideo.addEventListener('ended', onEnded);
|
||||
itemVideo.addEventListener('volumechange', onVolumeChange);
|
||||
|
||||
itemVideo.addEventListener('voluplaymechange', onPlay);
|
||||
itemVideo.addEventListener('play', onPlay);
|
||||
itemVideo.addEventListener('pause', onPause);
|
||||
itemVideo.addEventListener('playing', onPlaying);
|
||||
|
||||
|
@ -365,10 +365,10 @@
|
||||
|
||||
function onPlayingOnce() {
|
||||
|
||||
Events.off(this, "play", onPlayingOnce);
|
||||
Events.on(this, 'ended', self.onPlaybackStopped);
|
||||
Events.off(mediaRenderer, "play", onPlayingOnce);
|
||||
Events.on(mediaRenderer, 'ended', self.onPlaybackStopped);
|
||||
|
||||
Events.on(this, 'ended', self.playNextAfterEnded);
|
||||
Events.on(mediaRenderer, 'ended', self.playNextAfterEnded);
|
||||
|
||||
self.startProgressInterval();
|
||||
sendProgressUpdate();
|
||||
|
Loading…
Reference in New Issue
Block a user