mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 14:41:20 -08:00
修复全屏时画面比例不对问题
This commit is contained in:
1 parent
c16f2647e7
commit
4f3d5e0240
5 files changed
+9
-17
No files matched your search
@@ -13,7 +13,7 @@ export default function fullscreenWebMix(art, player) {
|
||||
player.fullscreenExit();
|
||||
}
|
||||
$player.classList.add('artplayer-web-fullscreen');
|
||||
player.aspectRatio('default');
|
||||
player.aspectRatioReset();
|
||||
art.emit('fullscreenWeb:enabled');
|
||||
},
|
||||
});
|
||||
@@ -23,7 +23,7 @@ export default function fullscreenWebMix(art, player) {
|
||||
if (player.fullscreenWebState) {
|
||||
player.fullscreenExit();
|
||||
$player.classList.remove('artplayer-web-fullscreen');
|
||||
player.aspectRatio('default');
|
||||
player.aspectRatioReset();
|
||||
art.emit('fullscreenWeb:exit');
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user