mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 14:41:20 -08:00
6 lines
186 B
JavaScript
6 lines
186 B
JavaScript
export default function seekMix(art, player) {
|
|
Object.defineProperty(player, 'played', {
|
|
get: () => art.template.$video.currentTime / art.template.$video.duration,
|
|
});
|
|
}
|