mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-15 17:16:16 -08:00
fix fullscreenEnabled bug
This commit is contained in:
1 parent
c27d245003
commit
7bed66fdaf
3 files changed
+7
-12
No files matched your search
@@ -1628,13 +1628,10 @@
|
||||
player.fullscreenWebExit();
|
||||
}
|
||||
|
||||
$player.classList.add('artplayer-fullscreen');
|
||||
screenfull.request($player);
|
||||
|
||||
if (player.fullscreenState) {
|
||||
player.aspectRatioReset();
|
||||
art.emit('fullscreen:enabled');
|
||||
}
|
||||
$player.classList.add('artplayer-fullscreen');
|
||||
player.aspectRatioReset();
|
||||
art.emit('fullscreen:enabled');
|
||||
}
|
||||
});
|
||||
Object.defineProperty(player, 'fullscreenExit', {
|
||||
|
||||
Reference in new issue
Block a user