Page Visibility API Demonstrations

The Page Visibility API makes it possible to do things like stop an animation, or pause multimedia content based on the stage of the page. I've done both in the examples below.