mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 22:01:20 -08:00
typofix
This commit is contained in:
1 parent
bdb050f0a7
commit
970e7e3b89
20 files changed
+23
-9
No files matched your search
@@ -1,8 +1,6 @@
|
||||
export default function seekMix(art, player) {
|
||||
const { $video } = art.template;
|
||||
Object.defineProperty(player, 'loaded', {
|
||||
get: () =>
|
||||
art.template.$video.buffered.length
|
||||
? art.template.$video.buffered.end(art.template.$video.buffered.length - 1) / art.template.$video.duration
|
||||
: 0,
|
||||
get: () => ($video.buffered.length ? $video.buffered.end($video.buffered.length - 1) / $video.duration : 0),
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user