This warning occurs because videojs-http-streaming (VHS) has replaced the older videojs-contrib-hls
player.tech().hls is deprecated. Use player.tech().vhs instead #2 html5: vhs: overrideNative: true )
If you are passing options like overrideNative during player initialization, change the hls key to vhs : javascript html5: vhs: overrideNative: true )
The warning videojs warn player.tech_.hls is deprecated. use player.tech_.vhs instead occurs because Video.js has updated its internal handling of HTTP Live Streaming (HLS). html5: vhs: overrideNative: true )
By migrating to player.tech_.vhs , you ensure your custom HLS logic remains compatible, performant, and ready for the future of Video.js.
var player = videojs('my-video', html5: vhs: overrideNative: true ); Use code with caution. Why the Change Happened