mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 18:41:20 -08:00
Update index.js
This commit is contained in:
1 parent
92bb1f539e
commit
bdd0b72bcc
1 file changed
-6
@@ -118,9 +118,3 @@ var art = new Artplayer({
|
|||||||
state: '<img src="/assets/img/state.png">',
|
state: '<img src="/assets/img/state.png">',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
Artplayer.config.events.forEach(function (item) {
|
|
||||||
art.on('video:' + item, function (event) {
|
|
||||||
art.plugins.log.emit('video: ' + event.type);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
Reference in new issue
Block a user