Make Changes Based on Video Playback (w/ YouTube API)

Go to Source

See the Code
See it Full Page
See Details

Using the YouTube Iframe API to control video playback and sizes.

JS is commented with a detailed yet easy to understand explanation of what is going on.

Much thanks to http://coolestguidesontheplanet.com/videodrome/youtube/ for the css to dynamically size videos.

This Pen uses: HTML, SCSS, JavaScript, and