Videojs Warn Player.tech--.hls Is Deprecated. Use Player.tech--.vhs Instead Jun 2026

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

If you are passing options to the player during initialization, update the key from hls to vhs within the html5 object. javascript

Understanding the Video.js Deprecation Warning: Switching from HLS to VHS indicates that your code or a plugin is

Have questions about more complex VHS migrations? Check out the official @videojs/http-streaming documentation on GitHub or open an issue on the Video.js discussion board.

Search your codebase for player.tech_.hls or player.tech(['Hls']) . Replace those instances with the updated VHS syntax. javascript javascript Understanding the Video

Developers often access the HLS object to manually change video qualities or read the available bitrates. javascript

Example that triggers the warning:

var player = videojs('my-video'); player.ready(function() // Use .vhs instead var vhs = player.tech().vhs; if (vhs) console.log(vhs.playlists.master); ); Use code with caution. 2. Update Configuration Options

Historically, this tech was named Hls . You accessed it via: Replace those instances with the updated VHS syntax