Some older examples or boilerplates include both Video.js core and a separate HLS plugin. Just remove the plugin script.
Better: Open an issue on the plugin’s GitHub repo referencing this deprecation.
Also test on (Chrome, Firefox, Safari – especially important for HLS).
const player = videojs('my-video', sources: [ src: 'stream.m3u8', type: 'application/x-mpegURL' ] );
After changing tech_.hls to tech_.vhs :
<!-- Video.js core --> <link href="https://vjs.zencdn.net/8.10.0/video-js.css" rel="stylesheet" /> <script src="https://vjs.zencdn.net/8.10.0/video.min.js"></script>
To ensure continued support and compatibility with future versions of Video.js:
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later.
To resolve the warning, you must update your code wherever you are programmatically accessing HLS options, stats, or request hooks. 1. Update Property Access Search your codebase for player.tech().hls and replace it with Before (Deprecated): javascript // This will trigger the console warning
Unlike the old HLS tech, VHS supports both HLS and DASH streams.
Some older examples or boilerplates include both Video.js core and a separate HLS plugin. Just remove the plugin script.
Better: Open an issue on the plugin’s GitHub repo referencing this deprecation.
Also test on (Chrome, Firefox, Safari – especially important for HLS).
const player = videojs('my-video', sources: [ src: 'stream.m3u8', type: 'application/x-mpegURL' ] );
After changing tech_.hls to tech_.vhs :
<!-- Video.js core --> <link href="https://vjs.zencdn.net/8.10.0/video-js.css" rel="stylesheet" /> <script src="https://vjs.zencdn.net/8.10.0/video.min.js"></script>
To ensure continued support and compatibility with future versions of Video.js:
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later.
To resolve the warning, you must update your code wherever you are programmatically accessing HLS options, stats, or request hooks. 1. Update Property Access Search your codebase for player.tech().hls and replace it with Before (Deprecated): javascript // This will trigger the console warning
Unlike the old HLS tech, VHS supports both HLS and DASH streams.