Video alpha channel

Drag videos to show CSS filters; tap or double click to trigger CSS animation. Resize page to resize videos.

Tap or click background to swap between image and video.

Select video background colour: (clear)

This demo works in current versions of Firefox and Chrome on desktop and (sort of) on mobile, but not Safari.

View source on GitHub