Videojs Warn Player.tech--.hls | Is Deprecated. Use Player.tech--.vhs Instead
The fix is straightforward but requires a careful search of your codebase.
: Most runtime properties previously accessed via player.tech().hls (such as playlists or representations) have been migrated to player.tech().vhs . Actionable Migration Steps The fix is straightforward but requires a careful
Maya’s heart thumped. She opened the network tab. The manifest file was fine. But every few seconds, a request to a non-existent segment path appeared: /legacy/hls/player.tech--.hls/deprecated.js change your reference: useEffect(() =>
If you are accessing the HLS engine directly to manipulate settings or listen to events (for example, to disable bandwidth stats or check segment sizes), change your reference: const player = videojs(ref.current)
useEffect(() => const player = videojs(ref.current); player.ready(() => const hls = player.tech_.hls; // Deprecated ); , []);