Videojs Warn Player.tech--.hls Is Deprecated. Use Player.tech--.vhs Instead [work]
// new techOrder: ['html5', 'vhs']
var player = videojs( 'my-video' , html5: hls: overrideNative: true ); Use code with caution. Copied to clipboard javascript // new techOrder: ['html5', 'vhs'] var player =
Step 3 — Update player initialization
The warning indicates you're using the deprecated player.tech_.hls property. In modern Video.js versions (especially those using or videojs-contrib-vhs ), the correct property is player.tech_.vhs . // new techOrder: ['html5'