Hacker GitHub

← All repos

video-dev/hls.js

View on GitHub ↗ ★ 17,031 TypeScript

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

17 mentions on Hacker News by 16 people: 2 stories, 15 comments · first 2017-07-11 · latest 2025-09-24

Mentions per year 17 mentions · busiest year 2020 (4)
20082026
  1. …support variable bitrate HLS directly, and I believe Apple devices, but not regular browsers. See https://github.com/video-dev/hls.js/ > unless you have something to sell Video hosting and its moderation is not cheap, sadly. Which is why…
  2. Yes adding style="display:none" to your audio or video element works but will consume bandwidth. https://github.com/video-dev/hls.js/issues/3480
  3. …you can do it client side by using hls.js [0] Added bonus you can read HLS and MPD streams. [0] https://github.com/video-dev/hls.js/issues/5706
  4. …browsers with native HLS support are faster as well. Those without need to load everything via https://github.com/video-dev/hls.js/ which slows things down. I'll try to add some UI feedback so people don't give up too quickly.
    comment by HotGarbage · 2024-03-14 · in Show HN: Caltrans CCTV
  5. …VP9 and AV1, but I have not read up on it much as MPEG-DASH is proprietary as a protocol [2]. [1]: https://github.com/video-dev/hls.js/issues/5684 [2]: https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_ove...
  6. …solutions) so that they truly don't need to download anything. [1] https://github.com/ossrs/srs [2] https://github.com/video-dev/hls.js/
    comment by oefrha · 2022-12-16 · in Adding WebRTC support to OBS using Rust
  7. …then stuck it all behind a vpn (wireguard). [1]: https://github.com/aler9/rtsp-simple-server [2]: https://github.com/video-dev/hls.js/
  8. Safari supports HLS natively, but hls.js is a widely used library that support HLS via MSE. https://github.com/video-dev/hls.js/
  9. …cdn cost, and the cheapest bandwidth can be bought via hosting providers like hetzner and ovh. [0] https://github.com/video-dev/hls.js/
  10. …HLS you can use a JavaScript HLS client implementation[0] using Media Source Extensions[1]. [0]: https://github.com/video-dev/hls.js/ [1]: https://developer.mozilla.org/en-US/docs/Web/API/Media_Sourc...
    comment by guu · 2020-07-20 · in DIY Video Hosting
  11. …putting a CDN in front may be required. [0]: https://github.com/Dash-Industry-Forum/dash.js [1]: https://github.com/video-dev/hls.js
    comment by feinte · 2020-07-20 · in DIY Video Hosting
  12. …mechanisms are rightly configured (like for instance all the MaxRetry config params in hls.js: https://github.com/video-dev/hls.js/blob/master/docs/API.md#... )
    comment by eldod · 2018-11-07 · in How to implement a multi-CDN strategy
  13. …HLS can be done in much the same fashion as described in my article with https://github.com/video-dev/hls.js/tree/master I might do a follow-up with the necessary changes.
    comment by Sir_Cmpwn · 2018-08-26 · in How to make a self-hosted video livestream
  14. …everywhere and modify to the extent you really need to, if at all. As for media streaming, HLS.js ( https://github.com/video-dev/hls.js ) is a dream tool! There are some tricky bits to figure out that aren't documented overly well (like…
    comment by 52-6F-62 · 2017-08-29 · in Show HN: Moon – fast 7k Vue alternative
  15. …memory. We use a ton of array buffers along with web workers to transmux HLS video in the browser ( https://github.com/video-dev/hls.js ). Being able to share memory across the worker instance will hopefully save a lot of memory/time.
    comment by vdnkh · 2017-07-11 · in ECMAScript 2017 Language Specification