updating
Loading...

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

Deprecation Warning in Video.js: Time to Move from hls to vhs

If you’ve recently updated your version of Video.js (specifically videojs-contrib-hls or the core player with http-streaming), you might have noticed a new warning in your browser’s console:

The warning is telling you:

yourself, a plugin like a quality selector or resolution switcher may be outdated. Check for updates for those specific libraries on 4. Critical Considerations Native vs. VHS : In some browsers like Safari, player.tech().vhs Deprecation Warning in Video

player.tech_.hls.representations().forEach(function(rep) 
  console.log(rep.width, rep.height);
);