You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ehy everyone, I'm using the preload option from the VideoPlayerOptions.
In the Typescript type imported from video.js/dist/types/player it looks like the preload function accepts a boolean.
Also in the code doc there is a boolean value param. This looks wrong to me, since in the documentation this option is a string.
Can this be an issue or is intended to be true/false? If so, maybe it is worth to update the documentation
If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
Description
Ehy everyone, I'm using the
preload
option from theVideoPlayerOptions
.In the Typescript type imported from
video.js/dist/types/player
it looks like the preload function accepts a boolean.Also in the code doc there is a boolean value param. This looks wrong to me, since in the documentation this option is a string.
Can this be an issue or is intended to be true/false? If so, maybe it is worth to update the documentation
Reduced test case
video.js/src/js/player.js
Line 3684 in f1558c6
Steps to reproduce
preload
option required typeErrors
No response
What version of Video.js are you using?
8.0.3
Video.js plugins used.
No response
What browser(s) including version(s) does this occur with?
Typescript issue
What OS(es) and version(s) does this occur with?
Typescript issue
The text was updated successfully, but these errors were encountered: