mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 03:11:20 -08:00
remove danmuku video:loadedmetadata
This commit is contained in:
1 parent
d3fbe7c288
commit
8a5910b530
7 files changed
+157
-161
No files matched your search
@@ -102,7 +102,7 @@ export default function progress(options) {
|
||||
}
|
||||
}
|
||||
|
||||
art.once('video:loadedmetadata', () => {
|
||||
art.on('video:loadedmetadata', () => {
|
||||
for (let index = 0; index < option.highlight.length; index++) {
|
||||
const item = option.highlight[index];
|
||||
const left = (clamp(item.time, 0, art.duration) / art.duration) * 100;
|
||||
|
||||
Reference in new issue
Block a user