Update index.js

This commit is contained in:
Harvey Zack authored and GitHub committed 2021-08-17 09:29:01 +08:00
1 parent 92bb1f539e
commit bdd0b72bcc
1 file changed
-6
-6
View File
@@ -118,9 +118,3 @@ var art = new Artplayer({
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);
});
});