Using hls options is deprecated
Receive warning as "video.min.js:12 VIDEOJS: WARN: Using hls options is deprecated. Use vhs instead." I use videoJS version 7.11.0 with option ...
html5: {
hls: {
overrideNative: !videojs.browser.IS_SAFARI
},
Is this not OK anymore?
You can continue using hls if you want. As the warning mentioned, you can also switch to using vhs instead. We decided to rename the option because it was actually confusing for when you're playing back DASH or HLS since the hls option applied to both.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Thanks for opening this and for building with Video.js. For the last year we’ve been hard at work re-building the player from the ground up for the modern web. It’s now available as v10 and we’d love for you to join us by upgrading.
Video.js v8 will now live at videojs/videojs-v8 and continue to be maintained as best as we can with security fixes until October 1, 2028 (see its security policy).
This issue hasn’t had activity since December 2020, so we're closing it rather than moving it to videojs/videojs-v8. If it still applies to Video.js 10, open a new issue or discussion and link back here so we keep the context.
Moving to Video.js 10? Use a migration guide: HTML · React.
Migrating with a coding agent? Paste the prompt from the guide's AI Quickstart section into your agent: HTML · React.
If this is a security vulnerability, don't add details here. Report it privately through private vulnerability reporting.