vlitejs / vlite

🦋 vLitejs is a fast and lightweight Javascript library for customizing video and audio player in Javascript with a minimalist theme (HTML5, Youtube, Vimeo, Dailymotion)
https://vlite.js.org
MIT License
270 stars 18 forks source link

No total time is shown if preload='none' is used #135

Closed ignl closed 3 weeks ago

ignl commented 3 weeks ago

Describe the bug

If I change to preload='metadata' then total time is OK otherwise it's 00:00.

Steps to reproduce

Create video player with preload='none'

Expected behavior

Total time is visible regardless of preload option.

Screenshots and recordings

No response

Vlite.js

6.0.2

Browser

All

OS

All

Additional context

No response

yoriiis commented 3 weeks ago

Hello @ignl, thanks for the report! Can you look at the changes and test on your side too (https://github.com/vlitejs/vlite/pull/136)?