mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 16:11:20 -08:00
修复弹幕自适应
This commit is contained in:
1 parent
b70c11ede6
commit
35ac59dc45
8 files changed
+44
-38
No files matched your search
@@ -11,11 +11,13 @@ export default function fullscreenWebMix(art, player) {
|
||||
if (value) {
|
||||
addClass($player, 'art-fullscreen-web');
|
||||
player.aspectRatioReset = true;
|
||||
art.emit('resize');
|
||||
art.emit('fullscreenWebChange', true);
|
||||
} else {
|
||||
removeClass($player, 'art-fullscreen-web');
|
||||
player.aspectRatioReset = true;
|
||||
player.autoSize = art.option.autoSize;
|
||||
art.emit('resize');
|
||||
art.emit('fullscreenWebChange', false);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user