Holding a hero until something else finishes

A hero at the top of the page is reported visible in the observer's very first batch, so without a gate it starts immediately. until takes any promise and holds playback until it settles: a splash screen dismissing, a consent dialog answered, a font loading, or anything else that should own the screen first.

This page stands in for that with a button. Nothing has been fetched yet, and nothing will be until you press it. Watch the network panel: the video is not requested either.

With ?prefetch the page opts in to prefetchWhileGated: the video downloads while the gate holds it, so a splash buys it load time, and it still plays only once you press the button.

Nothing is configured here. On the shipped 'page-loaded' default the video would play as soon as the page finished loading, so anything still holding it is until and nothing else.