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