Visor Reel

ProShowcase & Media3DWebGLpowered by @vectorvesper/motion

An astronaut helmet whose curved glass is a video player. The video plays muted inside the clear bubble, a click on the glass turns the sound on, and a thin line round its edge shows how far it has played. The helmet floats and turns toward the pointer.

Visor Reel

Included with membership

Members install Visor Reel with one command and get the full source, the usage code and the Framer remix, licensed for client work. One membership covers the whole library and the CLI.

When to use it

A hero or a launch page with one film to show: a product reveal, a showreel, a trailer. It fills its box, so give the box a height, usually the screen's.

  • Use a landscape film with its subject near the middle. The glass curves away at its edges, so the middle is what reads.
  • Use a seamless loop, so the film never jumps as it starts over.
  • Give label a short name for the film, such as "launch film". The sound button reads it out as "Play the launch film with sound".
  • Pass a poster. It shows while the film loads, and in the plain player for reduced motion.

Avoid:

  • Do not rely on sound. The film plays muted until someone clicks the glass, as browsers require.
  • Do not put two on one page. Each draws a helmet of its own.

Props

An astronaut helmet whose curved glass is a video player. The video plays muted inside the clear bubble, just behind the glass, a little darker toward its edges like a picture lit inside the helmet. A click on the glass turns the sound on, and a thin line round the edge of the glass shows how far the video has played. The helmet floats and turns toward the pointer, so highlights slide across the glass.

<VisorReel />

The helmet and its video. It fills the element it renders, so give that element a height. Without one it is at least 360 pixels tall.

PropTypeDefaultDescription
src*string—The video inside the visor. It plays muted until someone clicks the glass.
posterstring—A still of the video, shown while it loads and in the reduced-motion player.
backgroundstring"#111819"The plain ground behind the helmet.
labelstring"video"A short name for the video, which the sound button reads out as "Play the video with sound".
classNamestring—Class for the outer element, which the helmet fills.
styleReact.CSSProperties—Style for the outer element.
Visitors who prefer reduced motion get a plain video player with its own controls in place of the helmet. Devices below the runtime's floor get the same.
It runs on the shared frame loop, at up to one and a half times the screen's pixel density, and the runtime lowers the resolution when frames run long. The film pauses while the helmet is off screen.
background changes live. The film is read when the helmet is built, so give it a new key to show another. Keyboard users get a real sound button, which shows when it has focus and says whether the film has sound.
Client component. The server renders the ground, and the helmet is built in the browser.
Back to all components