Video Player (Web Component)

The gist: build out a video player component that makes use of the browser APIs to control the video.

I picture this as building a UI for dealing with a video, a lot like YouTube's or Vimeo's player. It would allow you to pause the video, change the volume, scrub to a specific timestamp, and make the video fullscreen.

The native video player is fine in most operating systems and browsers, but that doesn't mean more functionality couldn't be added. Also, we're here to learn!


<video-player src="/path/to/video.mp4" />


  • UI
  • Events
  • Working with media



YouTube player:

youtube player

vimeo player

Extra Credit

  • Buttons for 10s back, 10s forward
  • Make the video display responsive
  • Support multiple video formats and choose what to play based on browser and OS support

See Also