Instead 2021: Videojs Warn Player.tech--.hls Is Deprecated. Use Player.tech--.vhs
Additionally, the Video.js team wanted to so that plugins don’t need to know which streaming format they are handling. VHS abstracts away the differences between HLS and DASH, exposing a single interface.
Fix it now, and when Video.js 9 or 10 drops and the alias finally dies, your player won’t mysteriously break while everyone else’s keeps working.
or
Developers and plugin authors often accessed this property to interact with HLS-specific methods, like:
"dependencies": "video.js": "^8.0.0", "@videojs/http-streaming": "^3.0.0" // ✅ Correct // "videojs-contrib-hls": "^5.0.0" // ❌ Old and deprecated Additionally, the Video
find . -name "*.js" -exec grep -l "tech_.hls" {} \;
The warning "videojs warn player.tech--.hls is deprecated. use player.tech--.vhs instead" or Developers and plugin authors often accessed this
If you are passing configuration options during player setup, move them under the vhs key inside the html5 object: javascript