add autoHeight option

This commit is contained in:
Harvey committed 2021-12-31 13:30:59 +08:00
1 parent f890f83a61
commit 6cb75858bb
16 files changed
+85 -3

No files matched your search

@@ -92,6 +92,7 @@ export default function eventInit(art, player) {
// });
art.once('video:loadedmetadata', () => {
player.autoHeight = option.autoHeight;
player.autoSize = option.autoSize;
if (isMobile) {
art.loading.show = false;