1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

rest player after stopping

This commit is contained in:
Luke Pulverenti 2015-03-26 16:48:24 -04:00
parent 7d1a33d242
commit dfce8df586
2 changed files with 3 additions and 6 deletions

View file

@ -1125,7 +1125,6 @@
message: errorMsg message: errorMsg
}); });
}).on("click.mediaplayerevent", function (e) { }).on("click.mediaplayerevent", function (e) {
if (this.paused) { if (this.paused) {

View file

@ -1286,12 +1286,10 @@
self.currentMediaSource = null; self.currentMediaSource = null;
} }
if (self.currentItem && self.currentItem.MediaType == "Video") { if (self.isFullScreen()) {
if (self.isFullScreen()) { self.exitFullScreen();
self.exitFullScreen();
}
self.resetEnhancements();
} }
self.resetEnhancements();
}; };
self.isPlaying = function () { self.isPlaying = function () {