fix miniProgressBar

This commit is contained in:
Harvey Zack committed 2022-04-27 21:46:37 +08:00
1 parent be507d05e9
commit 78d042b33b
3 files changed
+12 -1

No files matched your search

+5
View File
@@ -5673,6 +5673,11 @@
art.on('video:timeupdate', function () {
$progressBar.style.width = "".concat(art.played * 100, "%");
});
art.on('setBar', function (type, percentage) {
if (type === 'played') {
$progressBar.style.width = "".concat(percentage * 100, "%");
}
});
}
});
});