mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 06:31:20 -08:00
update mobile demo
This commit is contained in:
1 parent
7db6cb7ef4
commit
3b365b7933
3 files changed
+4
-4
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { errorHandle, addClass, removeClass } from '../utils';
|
||||
import { errorHandle, addClass, removeClass, isMobile } from '../utils';
|
||||
import Component from '../utils/component';
|
||||
import fullscreen from './fullscreen';
|
||||
import fullscreenWeb from './fullscreenWeb';
|
||||
@@ -42,7 +42,7 @@ export default class Control extends Component {
|
||||
}
|
||||
});
|
||||
|
||||
art.once('ready', () => {
|
||||
art.once(isMobile ? 'video:loadedmetadata' : 'ready', () => {
|
||||
this.add(
|
||||
progress({
|
||||
name: 'progress',
|
||||
|
||||
Reference in new issue
Block a user