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

Merge pull request #1510 from MrTimscampi/fix-playback-stop

Fix back button not stopping video playback
This commit is contained in:
dkanada 2020-07-04 01:54:41 +09:00 committed by GitHub
commit 0849ea77d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)) {