Remove mustDestroy and fix currentSrc in mpv video player.
This commit is contained in:
@@ -76,13 +76,7 @@ import Headroom from 'headroom.js';
|
||||
}
|
||||
|
||||
function onBackClick() {
|
||||
// If playing on a player that can't be destroyed with navigation, stop it manually.
|
||||
const player = playbackManager.getCurrentPlayer();
|
||||
if (player && player.mustDestroy && skinHeader.classList.contains('osdHeader')) {
|
||||
playbackManager.stop();
|
||||
} else {
|
||||
appRouter.back();
|
||||
}
|
||||
appRouter.back();
|
||||
}
|
||||
|
||||
function retranslateUi() {
|
||||
|
||||
Reference in New Issue
Block a user