mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 20:21:20 -08:00
添加ready事件
This commit is contained in:
1 parent
d43a71b931
commit
a6816d68fa
10 files changed
+42
-51
No files matched your search
@@ -9,7 +9,7 @@ export default class Setting {
|
||||
this.art = art;
|
||||
this.state = false;
|
||||
if (art.option.setting) {
|
||||
this.art.once('video:canplay', () => {
|
||||
this.art.on('ready', () => {
|
||||
this.init();
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user