# hls.js

HLS.js is a JavaScript library that plays HLS in browsers with support for MSE.

Canonical page: https://www.reposhelf.co.uk/projects/github/video-dev/hls.js.html

- Project ID: video-dev/hls.js
- Source: GitHub
- Original project: https://github.com/video-dev/hls.js
- Description attribution: project author metadata
- Categories: Developer tools, Streaming
- Technologies: Not recorded
- Licence: No licence detected
- Repository availability checked: 2026-11-04T16:40:57.596Z
- Demo page loaded: 2026-11-06T00:48:10.488Z

No recognised licence was detected in the saved metadata. A public repository does not automatically grant permission to reuse its code. Review the repository terms before reusing its code.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> HLS.js is a JavaScript library that implements an \[HTTP Live Streaming\] client. It relies on \[HTML5 video\] and \[MediaSource Extensions\] for playback, and on \[Managed Media Source\] where MSE is not available \(Safari on iOS 17.1+\).

> It streams VOD, Live, and Low-Latency HLS assets made up of fragmented MP4 \(fMP4\), MPEG-2 Transport Stream, or Packed Audio segments. fMP4 segments \(ISO BMFF, including CMAF\) are passed through to MSE without remuxing, while MPEG-2 TS and Packed Audio \(AAC, MP3, and AC-3\) segments are transmuxed into fMP4. Transmuxing is performed asynchronously using a \[Web Worker\] when available in the browser.

> HLS.js streams media into a standard HTML element, which handles decoding, rendering, playback, and seeking. Control playback through the \[HTMLMediaElement\] API, and use HLS.js to load assets, choose quality levels and tracks, and listen for streaming events. For assets with Interstitials, use hls.interstitialsManager to seek and track position on the integrated timeline of primary content and interstitial breaks.

- full and light builds. The light build leaves out optional features such as alternate audio, subtitles, EME \(DRM\), CMCD, and Interstitials to reduce size \(see Build tasks\).
- UMD bundles \(hls.js, hls.light.js\) for

## Author-documented requirements and audience

> HLS.js is a JavaScript library that implements an \[HTTP Live Streaming\] client. It relies on \[HTML5 video\] and \[MediaSource Extensions\] for playback, and on \[Managed Media Source\] where MSE is not available \(Safari on iOS 17.1+\).





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/video-dev/hls.js/blob/master/README.md

Extraction checked: 2026-10-24T22:12:51.983Z

Last recorded source update: 2026-11-04T06:29:02.000Z

Saved release: v1.7.3 — 2026-09-11T17:40:05.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=video-dev%2Fhls.js). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
