add normal mode

This commit is contained in:
Harvey committed 2020-05-15 19:11:03 +08:00
1 parent 72937ab1ed
commit 2650acc953
6 files changed
+33 -30

No files matched your search

+1 -3
View File
@@ -86,9 +86,7 @@ export default function eventInit(art, player) {
// });
art.once('video:loadedmetadata', () => {
if (option.autoSize) {
player.autoSize = true;
}
player.autoSize = option.autoSize;
if (art.isMobile) {
art.loading.show = false;
art.controls.show = true;