Videojs Warn Player.tech--.hls Is Deprecated. Use Player.tech--.vhs Instead ⭐
You’re building a sleek video player. It works perfectly. But you open the browser’s developer console, and there it is—a yellow-eyed warning staring back at you: VIDEOJS WARN: player.tech--.hls is deprecated. use player.tech--.vhs instead It’s not an error. Your video still plays. But ignoring it is like leaving a “Check Engine” light on because the car still drives. Eventually, it will break.
After fixing, open the console. No warning. Just clean, professional HLS streaming through the glorious VHS engine. You’re building a sleek video player
And yes — the irony of a modern streaming protocol using an engine named after a tape format is not lost on any of us. use player
videojs.log.level('error'); // Hides all warnings, including this one Better: Update your code and use .vhs . The .hls warning is a gift. It’s Video.js telling you: “We’re cleaning house. Come along or get left behind.” Eventually, it will break