/HTML5-Video-Player

Pure JS HTML5 video player

Primary LanguageJavaScriptMIT LicenseMIT

HTML5 Video Player

No BS, just pure JS.

Responsive HTML5 video player written in good ol' pure HTML, CSS and JavaScript.

I wanted to do this myself from scratch at some point, so I've compiled all my research on how one would basically go about doing this to help others, looking to build their own simple HTML5 video player. Created specifically to be simple and easy to understand.

Out of the box features

  • Fulfills initial user interaction requirement
  • Responsive
  • Play/Pause toggle
  • Volume slider, mute toggle
  • Current Time and Duration display
  • Seek slider
  • Icons using a web font (FontAwesome)
  • Keyboard triggers
    • F11 or F: Fullscreen
    • Spacebar: Play\Pause