fix changestream

This commit is contained in:
Luke Pulverenti 2016-02-01 14:10:44 -05:00
parent 8c10f27035
commit b2d9967968
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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();