mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 06:31:20 -08:00
remove player object
This commit is contained in:
1 parent
59a8ccce81
commit
59400eb3bf
58 files changed
+295
-313
No files matched your search
@@ -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),
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user