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

Deprecation Warning: Using player.tech_.hls is Deprecated, Please Use player.tech_.vhs Instead

npm install video.js@latest @videojs/http-streaming@latest

To resolve the warning "videojs warn player.tech--.hls is deprecated. use player.tech--.vhs instead," you need to update your code to use the Video.js HTTP Streaming (VHS) Deprecation Warning: Using player

videojs('my-player', html5: vhs: overrideNative: true ); ``` Use code with caution. Copied to clipboard To resolve the warning "videojs warn player

If you are passing options to the player during setup, update the key from hls to vhs. Old Setup: javascript html5: vhs: overrideNative: true )

Migration for plugins

If you maintain a Video.js plugin that accesses tech_.hls, update it and bump the major version (or at least a minor version with a deprecation warning). Notify users that they should upgrade.