remove player object

This commit is contained in:
zhw2590582 committed 2022-01-07 17:38:10 +08:00
1 parent 59a8ccce81
commit 59400eb3bf
58 files changed
+295 -313

No files matched your search

@@ -1,7 +1,6 @@
export default function miniProgressBar(art) {
const {
layers,
player,
option: { theme },
} = art;
@@ -26,7 +25,7 @@ export default function miniProgressBar(art) {
});
art.on('video:timeupdate', () => {
$progressBar.style.width = `${player.played * 100}%`;
$progressBar.style.width = `${art.played * 100}%`;
});
},
});