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