mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-16 09:36:16 -08:00
remove timeupdate event
This commit is contained in:
1 parent
ba4cbf1a80
commit
5d8b4fb7ce
7 files changed
+12
-45
No files matched your search
@@ -25,7 +25,7 @@ export default function miniProgressBar(art) {
|
||||
$progressBar.style.display = 'none';
|
||||
});
|
||||
|
||||
art.on('timeupdate', () => {
|
||||
art.on('video:timeupdate', () => {
|
||||
$progressBar.style.width = `${player.played * 100}%`;
|
||||
});
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user