mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 04:31:20 -08:00
添加挂载url后事件
This commit is contained in:
1 parent
057bfb06c7
commit
9c4daf3c1d
6 files changed
+14
-11
No files matched your search
@@ -28,5 +28,6 @@ export default function attrInit(art, player) {
|
||||
sleep().then(() => {
|
||||
art.emit('beforeMountUrl', option.url);
|
||||
$video.src = player.mountUrl(option.url);
|
||||
art.emit('afterMountUrl', option.url);
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user