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

VHS is built directly into Video.js, meaning you no longer need to include videojs-contrib-hls as a separate plugin. Consistent Experience: vhs: overrideNative: true

: Replace instances where you directly access the HLS tech. Old : var hls = player.tech().hls; New : var vhs = player.tech().vhs; VHS is built directly into Video

When you see this warning, it means somewhere in your JavaScript code (or an external plugin), you are accessing: VHS is built directly into Video.js

player.ready(() => const vhs = player.tech_.vhs; // ✅ No warning console.log(vhs.master.uri); ); New : var vhs = player.tech().vhs

indicates that your code or a plugin is accessing the HLS (HTTP Live Streaming) engine using an outdated property name. This change occurred because Video.js HTTP Streaming (VHS) has replaced the older videojs-contrib-hls Report: Deprecation of player.tech().hls 1. Reason for the Change

Scroll to Top