mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 03:11:20 -08:00
9 lines
266 B
JavaScript
9 lines
266 B
JavaScript
import { def } from '../utils';
|
|
|
|
export default function playingMix(art, player) {
|
|
const { $video } = art.template;
|
|
def(player, 'playing', {
|
|
get: () => !!($video.currentTime > 0 && !$video.paused && !$video.ended && $video.readyState > 2),
|
|
});
|
|
}
|