News for hackers. Stuff that matters.
Re:Show HN: Self-made web media player without <video> or <a... by fragmede on Friday July 18, 2025 @04:51AM (#44602585)
I'm out of the loop. why's the video or audio tag not desirable?
Re:Show HN: Self-made web media player without <video> or <a... by vanilagy on Friday July 18, 2025 @04:57AM (#44602617)
Great question! <video> and <audio> are perfectly apt for simple media playing on the web, and you should use them for playing files.

They tend to break down when you want to build more complex applications on top of them (such as a video editor) that require perfect-accuracy seeking and playback, precise control over decoding patterns, and direct access to frame data. Mediabunny was built to power that kind of application, and so this demo acts as a proof of concept that you can reimplement the <video> element from scratch using that library.