mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 05:41:20 -08:00
优化预览图demo
This commit is contained in:
1 parent
e269d89821
commit
da2df1aa95
3 files changed
+62
-74
No files matched your search
@@ -28,7 +28,7 @@
|
||||
|
||||
function initArt(art) {
|
||||
Artplayer.config.video.events.forEach(function(item) {
|
||||
art.on('video:' + item, function(event) {
|
||||
art && art.on('video:' + item, function(event) {
|
||||
console.log('video: ' + event.type);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user