mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 16:11:20 -08:00
添加Demo自适应
This commit is contained in:
1 parent
e9d7c0cfdc
commit
f75e01be3b
8 files changed
+65
-13
No files matched your search
@@ -17,7 +17,7 @@ export default function resizeInit(art, events) {
|
||||
}
|
||||
}
|
||||
art.player.aspectRatioReset();
|
||||
art.emit('resize');
|
||||
art.emit('resize', $player);
|
||||
});
|
||||
});
|
||||
resizeObserver.observe($player);
|
||||
|
||||
Reference in new issue
Block a user