Historically, videojs-contrib-hls was the dedicated plugin for HLS playback in Video.js. However, as MPEG-DASH grew in popularity, the development team realized that HLS and DASH could share much of the same core logic. The result was , which:
. This guide explains why this change happened and how to update your implementation. ⚡ Quick Fix Replace any instances of in your player logic and options. Before (Deprecated): javascript
In modern versions (Video.js 8.x+), the legacy library has been replaced by (Video.js HTTP Streaming). VHS is a modern engine that handles both HLS and DASH streams natively. Consequently, the .hls property is now an alias that points to the new .vhs property, and that alias is being phased out.
player.tech_.hls.someMethod();
Historically, videojs-contrib-hls was the dedicated plugin for HLS playback in Video.js. However, as MPEG-DASH grew in popularity, the development team realized that HLS and DASH could share much of the same core logic. The result was , which:
. This guide explains why this change happened and how to update your implementation. ⚡ Quick Fix Replace any instances of in your player logic and options. Before (Deprecated): javascript as MPEG-DASH grew in popularity
In modern versions (Video.js 8.x+), the legacy library has been replaced by (Video.js HTTP Streaming). VHS is a modern engine that handles both HLS and DASH streams natively. Consequently, the .hls property is now an alias that points to the new .vhs property, and that alias is being phased out. as MPEG-DASH grew in popularity
player.tech_.hls.someMethod();