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:
parent
7d1a33d242
commit
dfce8df586
2 changed files with 3 additions and 6 deletions
|
@ -1125,7 +1125,6 @@
|
||||||
message: errorMsg
|
message: errorMsg
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
}).on("click.mediaplayerevent", function (e) {
|
}).on("click.mediaplayerevent", function (e) {
|
||||||
|
|
||||||
if (this.paused) {
|
if (this.paused) {
|
||||||
|
|
|
@ -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 () {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue