Open Bocom opened 1 year ago
Unfortunately, hls.js, the default playback engine for videojs-mux-kit, doesn't respect that preload attribute/property by default.
The quick-fix is for you to try the VHS build of videojs-mux-kit. However, this does bring up something that we should support here.
Ah, I see, good to know!
I actually did try the VHS build but it didn't work for me, couldn't get the video to actually load (essentially the same component code), but figured that was a separate issue.
I have created a basic Vue 3 component for video playback, but I can't seem to get
preload="none"
(orpreload="metadata"
for that matter) working.Component code
```vue ```I've tried setting it on the video element itself and as an option in the
videojs
call, but the video gets preloaded anyway. Am I doing something wrong?I'm using version 0.11.3.