mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 14:41:20 -08:00
add mse
This commit is contained in:
1 parent
b74ff6052c
commit
495782f5c6
11 files changed
+504
-7
No files matched your search
@@ -31,6 +31,22 @@
|
||||
poster: 'http://s2.pstatp.com/cdn/expire-1-M/byted-player-videos/1.0.0/poster.jpg'
|
||||
});
|
||||
|
||||
player.on('video:canplay', event => {
|
||||
console.log(event);
|
||||
});
|
||||
|
||||
player.on('video:play', event => {
|
||||
console.log(event);
|
||||
});
|
||||
|
||||
player.on('video:progress', event => {
|
||||
console.log(event);
|
||||
});
|
||||
|
||||
player.on('video:pause', event => {
|
||||
console.log(event);
|
||||
});
|
||||
|
||||
console.log(player);
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in new issue
Block a user