Skip to content

MattiasBuelens/baby-video

Repository files navigation

Baby's first HTML5 <video> element

A basic partial re-implementation of the HTML5 <video> element, to explain the inner workings of video playback in a browser.

This is purely for demonstration purposes. Don't use this in production, use a real <video> element instead.

Features

  • ▶️ <baby-video> custom element behaves like a <video> element
  • 🚰 BabyMediaSource class behaves like a MediaSource, allowing adaptive streaming
  • ⏪ Supports reverse playback through negative playbackRate

Talks

About

Baby's first HTML5 <video> element. Now also plays in reverse! ⏪

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages