mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 08:01:20 -08:00
update
This commit is contained in:
1 parent
38e989bc05
commit
b8153a5a29
7 files changed
+12
-12
No files matched your search
@@ -13,7 +13,7 @@ export default function fullscreenWebMix(art, player) {
|
||||
player.fullscreenExit();
|
||||
}
|
||||
$player.classList.add('artplayer-web-fullscreen');
|
||||
player.aspectRatioRemove();
|
||||
player.aspectRatio('default');
|
||||
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.aspectRatioRemove();
|
||||
player.aspectRatio('default');
|
||||
art.emit('fullscreenWeb:exit');
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user