Overlay on HTML5 Fullscreen Video

The best way to do this is to have a <div> containing the <video> and hotspots, and request fullscreen on the containing <div>.

I implemented the fullscreen and (parts of the) <video> APIs in Firefox. This z-index hack isn’t the specified behaviour, so it will stop working once we update our implementation to match the latest draft of the W3C fullscreen spec.

Leave a Comment