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

+2 -2
View File
@@ -1,8 +1,8 @@
import { def } from '../utils';
export default function playingMix(art, player) {
export default function playingMix(art) {
const { $video } = art.template;
def(player, 'playing', {
def(art, 'playing', {
get: () => !!($video.currentTime > 0 && !$video.paused && !$video.ended && $video.readyState > 2),
});
}