mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-11 22:06:17 -08:00
Update durationMix.js
This commit is contained in:
1 parent
4c9b3b966c
commit
b313341faa
1 file changed
+1
-1
@@ -2,6 +2,6 @@ import { def } from '../utils';
|
||||
|
||||
export default function durationMix(art, player) {
|
||||
def(player, 'duration', {
|
||||
get: () => art.template.$video.duration || Infinity,
|
||||
get: () => art.template.$video.duration || 0,
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user