Videojs Warn Player.tech--.hls Is Deprecated. Use Player.tech--.vhs Instead -

If you are manually loading videojs-contrib-hls via tags or npm , . It is no longer necessary. Step 3: Update techOrder or Source Configuration

Here are the most common scenarios where developers encounter this issue and how to refactor them. 1. Accessing the Quality Levels Plugin If you are manually loading videojs-contrib-hls via tags

var vhs = player.tech().vhs; console.log(vhs.playlists.main); // Note: 'master' is often now 'main' Use code with caution. 2. Update Initialization Options If you are manually loading videojs-contrib-hls via tags

Check the browser console for VHS-specific errors. You can also enable verbose logging: If you are manually loading videojs-contrib-hls via tags

appears when your Video.js player is using the legacy hls tech internally. This can happen in several scenarios: