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

function mapLegacyHlsOptions(opts) return vhs: overrideNative: opts.overrideNative ?? true, withCredentials: opts.withCredentials ?? false, maxBufferLength: opts.maxBufferLength ?? 30, xhrTimeout: opts.xhrTimeout ?? 45000

VIDEOJS WARN: player.tech--.hls is deprecated. Use player.tech--.vhs instead. withCredentials: opts.withCredentials ?? false

To maintain backward compatibility, an alias was kept: when you wrote player.tech_.hls , it still pointed to the VHS tech for a while. Starting with certain Video.js versions (typically v7+ with updated contrib packages), using the old name triggers this deprecation warning. maxBufferLength: opts.maxBufferLength ?? 30

The warning "videojs warn player.tech--.hls is deprecated. use player.tech--.vhs instead" withCredentials: opts.withCredentials ?? false

player.tech().hls is deprecated. Use player.tech().vhs instead #2

You’ll typically see this warning in the browser’s console when:

player.tech().hls is deprecated. Use player.tech().vhs instead #2 8 Feb 2022 —