Skip to content

Videojs Warn Player.tech--.hls Is Deprecated. Use Player.tech--.vhs Instead - ((link))

If you switch to .vhs and it returns undefined , check the following: videojs-http-streaming (VHS) - GitHub

if your current version of Video.js is fully compatible with VHS. Let me know which part of your implementation you'd like to look at next! If you switch to

var vhs = player.tech_.vhs; // do something with vhs... If you switch to

The short answer is:

<video id="player" class="video-js vjs-default-skin" controls></video> If you switch to

Please indicate the source and link of this article when reprinting.

https://x-cmd.com/blog/250520

Help us make these docs great!

All X-CMD docs are generated from command help and multiple data sources. See something that's wrong or unclear? Feel free to let us know through any of these ways~