mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
chore: bump version to 5.3.1-beta.1 and update seekMix function to emit current time with seek event
This commit is contained in:
1 parent
3f47356d2c
commit
f5f3800449
8 files changed
+14
-14
No files matched your search
@@ -9,7 +9,7 @@ export default function seekMix(art) {
|
||||
if (art.duration) {
|
||||
notice.show = `${secondToTime(art.currentTime)} / ${secondToTime(art.duration)}`
|
||||
}
|
||||
art.emit('seek', art.currentTime)
|
||||
art.emit('seek', art.currentTime, time)
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user