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

+3 -3
View File
@@ -1,7 +1,7 @@
import { def } from '../utils';
export default function playedMix(art, player) {
def(player, 'played', {
get: () => player.currentTime / player.duration,
export default function playedMix(art) {
def(art, 'played', {
get: () => art.currentTime / art.duration,
});
}