fix video onError

This commit is contained in:
Luke Pulverenti 2016-01-21 15:41:09 -05:00
parent c27b651de5
commit a4f8794486

View File

@ -1204,7 +1204,10 @@
message: errorMsg
});
self.onPlaybackStopped.call(mediaRenderer);
var mediaRenderer = self.currentMediaRenderer;
if (mediaRenderer) {
self.onPlaybackStopped.call(mediaRenderer);
}
self.nextTrack();
}