mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
add autoHeight option
This commit is contained in:
1 parent
f890f83a61
commit
6cb75858bb
16 files changed
+85
-3
No files matched your search
@@ -22,6 +22,7 @@ const nativeScreenfull = (art, player) => {
|
||||
screenfull.exit().then(() => {
|
||||
removeClass($player, 'art-fullscreen');
|
||||
player.aspectRatioReset = true;
|
||||
player.autoHeight = art.option.autoHeight;
|
||||
player.autoSize = art.option.autoSize;
|
||||
art.emit('resize');
|
||||
art.emit('fullscreen');
|
||||
|
||||
Reference in new issue
Block a user