mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 14:41:20 -08:00
add normal mode
This commit is contained in:
1 parent
72937ab1ed
commit
2650acc953
6 files changed
+33
-30
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user