mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 16:11:20 -08:00
update
This commit is contained in:
1 parent
38e989bc05
commit
b8153a5a29
7 files changed
+12
-12
No files matched your search
@@ -38,7 +38,7 @@ export default function fullscreenMix(art, player) {
|
||||
}
|
||||
$player.classList.add('artplayer-fullscreen');
|
||||
screenfull.request($player);
|
||||
player.aspectRatioRemove();
|
||||
player.aspectRatio('default');
|
||||
art.emit('fullscreen:enabled');
|
||||
},
|
||||
});
|
||||
@@ -49,7 +49,7 @@ export default function fullscreenMix(art, player) {
|
||||
player.fullscreenWebExit();
|
||||
$player.classList.remove('artplayer-fullscreen');
|
||||
screenfull.exit();
|
||||
player.aspectRatioRemove();
|
||||
player.aspectRatio('default');
|
||||
art.emit('fullscreen:exit');
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user