mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-15 00:56:16 -08:00
fix: Fix fullscreen functionality in mobile.html
This commit is contained in:
1 parent
e7727c0fa1
commit
cb87252bbd
4 files changed
+7
-7
No files matched your search
@@ -1884,10 +1884,10 @@ function fullscreenMix(art) {
|
||||
set (value) {
|
||||
if (value) {
|
||||
art.state = "fullscreen";
|
||||
requestFullscreen();
|
||||
requestFullscreen.call($video);
|
||||
art.emit("fullscreen", true);
|
||||
} else {
|
||||
exitFullscreen();
|
||||
exitFullscreen.call(document);
|
||||
art.emit("fullscreen", false);
|
||||
}
|
||||
art.emit("resize");
|
||||
|
||||
Reference in new issue
Block a user