This video shows the synchronization of video playback with JS/CSS/HTML-driven effects. As the video plays and its currentTime property reaches given values, JS functions are fired that do the work of applying overlays with filtered background images.
See also, Building Flickr's new Hybrid Signed-out Homepage on the Flickr Code Blog.