Videojs Warn Player.tech--.hls Is Deprecated. Use Player.tech--.vhs Instead //free\\ — Proven & Secure
The warning "videojs warn player.tech--.hls is deprecated. use player.tech--.vhs instead"
const legacy = overrideNative: true, maxBufferLength: 60 ; const player = videojs('player', techOrder: ['html5'], html5: mapLegacyHlsOptions(legacy) );var player = videojs('my-video'); player.ready(function() // Use vhs (VideoJS HTTP Streaming) instead var vhs = player.tech().vhs; if (vhs) console.log(vhs.playlists.master); ); Use code with caution. Copied to clipboard 🤔 Why is this happening? The warning "videojs warn player
Deprecated (Old):