mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
typofix
This commit is contained in:
1 parent
c397bb7f81
commit
b330fbf7f1
2 files changed
+4
-4
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user