mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
Optimize setBar event and add lazy loading for thumbnails in artplayer-plugin-chapter
This commit is contained in:
1 parent
2e72e0cec2
commit
bc5761ecdb
3 files changed
+4
-1
No files matched your search
@@ -63,6 +63,8 @@ export default function artplayerPluginChapter(option = {}) {
|
||||
} else {
|
||||
removeClass($player, 'artplayer-plugin-chapter');
|
||||
}
|
||||
|
||||
art.emit('setBar', 'loaded', art.loaded || 0);
|
||||
}
|
||||
|
||||
art.on('setBar', (type, percentage, event) => {
|
||||
|
||||
Reference in new issue
Block a user