mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update src/controllers/playback/video/index.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
67a2e0f16d
commit
b67a064d75
1 changed files with 4 additions and 3 deletions
|
@ -403,11 +403,12 @@ import { appRouter } from '../../../components/appRouter';
|
||||||
}
|
}
|
||||||
|
|
||||||
function onFullscreenChanged() {
|
function onFullscreenChanged() {
|
||||||
if (!layoutManager.tv) {
|
if (!playbackManager.isFullscreen(currentPlayer)) {
|
||||||
updateFullscreenIcon();
|
|
||||||
} else if (!playbackManager.isFullscreen(currentPlayer)) {
|
|
||||||
appRouter.back();
|
appRouter.back();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
updateFullscreenIcon();
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateFullscreenIcon() {
|
function updateFullscreenIcon() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue