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

If you are accessing the HLS object via code, change your reference from hls to vhs . player.tech().hls or player.hls New (Recommended): player.tech().vhs 2. Update Initialization Options

const vhs = player.tech_.vhs;

ngAfterViewInit() this.player = videojs(this.videoElement.nativeElement); this.player.ready(() => const hls = this.player.tech_['hls']; // warning ); If you are accessing the HLS object via

If you are passing specific HLS configurations in your player setup, move them under the vhs key: javascript const hls = this.player.tech_['hls']