Videojs Warn Player.tech--.hls Is Deprecated. Use Player.tech--.vhs Instead -
Historically, this tech was named Hls . You accessed it via:
const currentLevel = player.tech_.vhs.currentLevel; console.log(`Current bitrate level: ${currentLevel}`); Before: Historically, this tech was named Hls
const currentLevel = player.tech_.hls.currentLevel; console.log(`Current bitrate level: ${currentLevel}`); console.log(`Current bitrate level: ${currentLevel}`)
That alias is what triggers the warning. The code inside VHS does something like: Before: const currentLevel = player.tech_.hls.currentLevel
For HLS streaming, browsers do not natively support .m3u8 playlists. To solve this, Video.js uses a that intercepts the stream, transmuxes it into something the HTML5 video element can understand (usually MP4 fragments), and feeds the data to the native player.