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.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…