Create an Awesome Scroll-based HTML5 Video Explainer

DesignCourse on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI25 min

About this video

Shows how to embed a video in a web page and control its playback from the page scroll position, so scrolling down plays the video forward and scrolling up rewinds it. Aimed at developers who already write some HTML and JavaScript.

What you’ll learn

  • Embed an HTML5 video element in a web page
  • Map scroll position to video playback time with JavaScript
  • Build a scroll-controlled video explainer using the linked GitHub code