Videojs Warn Player.tech--.hls Is Deprecated. Use Player.tech--.vhs Instead
Step 5 — Update event handling
To maintain backward compatibility, an alias was kept: when you wrote player.tech_.hls , it still pointed to the VHS tech for a while. Starting with certain Video.js versions (typically v7+ with updated contrib packages), using the old name triggers this deprecation warning. Step 5 — Update event handling To maintain
Search your codebase for:
The vhs object is only attached to the tech when an HLS or DASH stream is actively in use. Ensure your media has loaded or use the player's ready callback before attempting to access it. videojs-http-streaming (VHS) - GitHub Step 5 — Update event handling To maintain
Historically, Video.js used a dedicated plugin called to play HLS video. Step 5 — Update event handling To maintain





2 Comments