Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by lucb1e

2 months ago

Fwiw, the browser's built-in player does buffering. You don't need to custom-code that, you can just use <video>. The browser also exposes via Javascript when it estimates that the download speed and buffer size is sufficient such that you can start playback without interruption: https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaEl...

0 comments

lucb1e

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities