What works in an HTML page
An HTML page here is not a web page: it is the page each lead sees in their video. Most HTML and CSS works as you’d expect, with a few rules that come from that.
A fixed frame
Section titled “A fixed frame”A full page is exactly 1080 × 1920 px in portrait, or 1920 × 1080 px in landscape — your custom’s video format, set under Layout in the editor’s left rail. A block in its own box is the size of that box.
Nothing scrolls. Whatever runs past the bottom edge is cut off, so make
the design fit rather than relying on overflow: hidden. Size things with px,
%, em, flex or grid, not vw or vh: the page is scaled to fit whatever screen
shows it.
Keep important text out of the corner where your camera sits — turn on the camera placeholder to see it.
Nothing is clickable
Section titled “Nothing is clickable”Leads watch this page; they can’t click it. Buttons and forms are removed, and a link does nothing. Hover effects and CSS animations have no place on it either: design a still page, with videos as the one exception (below). The action you want leads to take goes on the Landing page tab.
The Landing page tab doesn’t take HTML: you set it up with its own fields, and its colours and fonts come from the Design tab (Brand on an Outreach custom).
Videos play like GIFs
Section titled “Videos play like GIFs”A <video> in your code is kept, and plays like a GIF: always muted, with no
controls, and leads can’t click it. Two attributes in your code decide the
rest:
- With
autoplay, it starts when its page comes on screen. Without it, it shows its first frame. - With
loop, it repeats. Without it, it plays once and stays on its last frame.
It follows the lead’s video: it pauses when they pause, and starts again from the beginning each time its page comes back.
It moves in Instant results, while the lead watches right after the quiz. In a Delayed custom’s video, or an Instant result opened again later, it shows its first frame for now.
What is removed from your code
Section titled “What is removed from your code”- Scripts, iframes, embeds, forms, inputs and buttons.
- External stylesheets —
<link>tags and@importrules. Keep all your CSS in a<style>tag inside the code.
Your styles stay inside the block and can’t change anything else on the page. Set your own font family, text colour and line height, or the page’s own may show through.
For pictures, use Replace on the page to upload them or point them at a column of your Leads, rather than linking to images hosted elsewhere.
Linked fonts — a <link> or @import, the usual way to add Google Fonts — are
removed with the rest. Use a font the editor already has, such as Inter,
Poppins, Lato or Playfair Display, and end the list with a generic family such
as sans-serif, which is used for any font that can’t be loaded.
Long answers
Section titled “Long answers”Each lead’s own name and answers fill the page, so some leads’ text runs longer than in your design. When it does, the page is laid out very slightly smaller — never below 85% of its size — so that everything, down to its bottom margin, stays inside the frame. A page that already fits is left as it is. Past 85%, what doesn’t fit is cut, so leave room for your longest answer. A section you moved by hand stays exactly where you put it, so keep it clear of the bottom edge.
This happens in each lead’s video and in previews, not on the editor’s canvas, which never resizes the page under you. A page that looks cut off on the canvas with a long Test answer may still fit.