压缩字符

This commit is contained in:
Harvey committed 2019-11-28 10:56:53 +08:00
1 parent 7ff61b4660
commit 0cf455ced3
27 files changed
+171 -239

No files matched your search

+2 -1
View File
@@ -2,8 +2,9 @@ import { def } from '../utils';
export default function seekMix(art, player) {
const { $video } = art.template;
def(player, 'loaded', {
get: () => ($video.buffered.length ? $video.buffered.end($video.buffered.length - 1) / $video.duration : 0),
get: () => player.loadedTime / $video.duration,
});
def(player, 'loadedTime', {