mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-13 15:56:15 -08:00
优化退出状态
This commit is contained in:
1 parent
129af7b42d
commit
72937ab1ed
4 files changed
+5
-1
No files matched your search
@@ -1829,6 +1829,7 @@
|
||||
screenfull.exit().then(function () {
|
||||
removeClass($player, 'art-fullscreen');
|
||||
player.aspectRatioReset = true;
|
||||
player.autoSize = art.option.autoSize;
|
||||
art.emit('fullscreenChange', false);
|
||||
});
|
||||
}
|
||||
@@ -1857,6 +1858,7 @@
|
||||
} else {
|
||||
removeClass($player, 'art-fullscreen-web');
|
||||
player.aspectRatioReset = true;
|
||||
player.autoSize = art.option.autoSize;
|
||||
art.emit('fullscreenWebChange', false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user