Videojs Warn: Player.tech--.hls Is Deprecated. Use Player.tech--.vhs Instead ((full))
Migrating from player.tech--.hls to player.tech--.vhs aligns projects with the actively maintained VHS stack, reduces technical debt, and improves feature support. The migration is primarily a dependency and configuration change, usually requiring minimal code updates beyond mapping legacy options and event handlers. Proper testing and staged rollout mitigate risk.
This warning appears because Video.js has updated its internal naming convention for the HTTP Live Streaming engine. The hls property on the tech object is being phased out in favor of vhs (Video.js HTTP Streaming).
So go ahead—do a find-and-replace, clear your console, and enjoy a warning-free development experience. Migrating from player
const player = videojs('my-player');
This change reflects the internal transition to the newer Video.js HTTP Streaming (VHS) architecture. While the old property currently remains functional for backward compatibility, relying on it may cause breakage upon upgrading to future major releases. This warning appears because Video
If you are a developer working with web video, you are likely familiar with , the standard open-source library for building HTML5 video players. While upgrading or maintaining a project, you may have noticed a warning in your browser console:
Try updating Video.js and http-streaming to the latest versions: While upgrading or maintaining a project
videojs.log.history.forEach(log => if (log && log.indexOf('player.tech--.hls is deprecated') !== -1) return; // skip showing it
);
appears when your Video.js player is using the legacy hls tech internally. This can happen in several scenarios:
Click the line number link next to the console warning to view the stack trace. This will show you exactly which script file is triggering the warning.