mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-17 10: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
@@ -1710,7 +1710,7 @@
|
||||
|
||||
$player.classList.add('artplayer-fullscreen');
|
||||
screenfull.request($player);
|
||||
player.aspectRatioRemove();
|
||||
player.aspectRatio('default');
|
||||
art.emit('fullscreen:enabled');
|
||||
}
|
||||
});
|
||||
@@ -1720,7 +1720,7 @@
|
||||
player.fullscreenWebExit();
|
||||
$player.classList.remove('artplayer-fullscreen');
|
||||
screenfull.exit();
|
||||
player.aspectRatioRemove();
|
||||
player.aspectRatio('default');
|
||||
art.emit('fullscreen:exit');
|
||||
}
|
||||
}
|
||||
@@ -1750,7 +1750,7 @@
|
||||
}
|
||||
|
||||
$player.classList.add('artplayer-web-fullscreen');
|
||||
player.aspectRatioRemove();
|
||||
player.aspectRatio('default');
|
||||
art.emit('fullscreenWeb:enabled');
|
||||
}
|
||||
});
|
||||
@@ -1759,7 +1759,7 @@
|
||||
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