C H A P T E R  3

Bouncing Video: Animating and Masking HTML5 Video

In this chapter, you will learn how to do the following:

  • Produce a moving video clip by drawing the current frame of the video at different locations on a canvas
  • Produce a moving video clip by repositioning the video element in the document
  • Mask the video so it looks like a circle for both situations
  • Build an application that will adapt to different window sizes

Get HTML5 and JavaScript Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.