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

Fix back button not stopping video playback

This commit is contained in:
MrTimscampi 2020-07-03 17:39:53 +02:00
parent 5f0836fd5b
commit e368271c8a

View file

@ -3710,7 +3710,9 @@ define(['events', 'datetime', 'appSettings', 'itemHelper', 'pluginManager', 'pla
return textStreamUrl;
};
PlaybackManager.prototype.stop = function (player = this._currentPlayer) {
PlaybackManager.prototype.stop = function (player) {
player = player || this._currentPlayer;
if (player) {
if (enableLocalPlaylistManagement(player)) {