This commit is contained in:
Harvey Zack committed 2018-11-24 17:19:50 +08:00
1 parent c397bb7f81
commit b330fbf7f1
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -856,13 +856,13 @@
var typeCallback = customType[type];
if (type && typeCallback) {
art.emit('beforeCustomType', url);
art.emit('beforeCustomType');
typeCallback($video, player.returnUrl(url), art);
art.emit('afterCustomType', url);
art.emit('afterCustomType');
} else {
art.emit('beforeAttachUrl', url);
$video.src = player.returnUrl(url);
art.emit('afterAttachUrl', url);
art.emit('afterAttachUrl', $video.src);
}
}
});