mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 04:01:20 -08:00
添加切换视频源
This commit is contained in:
1 parent
3e87417f82
commit
5fcff320cf
7 files changed
+98
-42
No files matched your search
+5
-5
@@ -100,11 +100,11 @@
|
||||
|
||||
console.log(player);
|
||||
|
||||
// Artplayer.config.video.events.forEach(item => {
|
||||
// player.on('video:' + item, event => {
|
||||
// console.log('video', event);
|
||||
// });
|
||||
// });
|
||||
Artplayer.config.video.events.forEach(item => {
|
||||
player.on('video:' + item, event => {
|
||||
console.log('video', event);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
|
||||
Reference in new issue
Block a user