Videos, maps, tabs and slideshows

Put YouTube, Vimeo and Loom videos, your own videos from the media library, Google Maps and your own embed code on any page, organise content into tabs, an FAQ accordion or a slideshow, and let visitors open images full screen.

Updated · 7 min read

The page editor's Insert tab has two groups for richer pages: Interactive (Tabs, Accordion, Slideshow) and Embeds (Video, Map, HTML embed). Each works on phones and desktops, with the keyboard and a screen reader, and uses your site's colours and type.

Videos, maps, tabs and slideshows

Add a video

  1. In the editor, select a section, open Insert and choose Video.
  2. Paste a YouTube, Vimeo or Loom link into Video in the panel on the right. Watch, share, Shorts and embed links all work, and a YouTube link with a start time (?t=90) starts there.
  3. Give it a Title, like "Product tour". Screen readers announce it on the play button.
  4. Pick a Shape: 16:9 (the default), 4:3, square, 9:16 for vertical video, or 21:9.

Visitors see a poster with a play button. The player only loads when they press play, so the page stays fast and nothing from YouTube or Vimeo is loaded before then. YouTube plays from its privacy-enhanced address and Vimeo with tracking off. The poster is your own Poster image if you choose one. Otherwise a YouTube video shows its own picture once the visitor has accepted cookies (or your site doesn't ask), and until then a plain dark poster with the title and "Plays from YouTube". Vimeo and Loom videos always show the plain poster unless you choose your own.

A link from anywhere else is refused, in the panel and when the page saves, with what the field takes. Links must start with https.

Play your own video

A Video block can also play an MP4 or WebM from your media library (Admin → Media), from your own storage, with no other company involved.

  1. Select the Video block and set Source to Library.
  2. Choose Upload to add a file from your computer, or Library to pick one already there.
  3. Give it a Poster: the still shown before it plays. The library captures one from the video when you upload it, and you can upload or pick another image, or capture the frame the preview is paused on in the library.
  4. Add Captions: a WebVTT (.vtt) file. Subtitle tools export it; an SRT file is refused with how to convert it. Captions are on by default and visitors can turn them off.
  5. Choose how it Plays:
    • On press waits on the poster with a play button, then plays with the browser's own controls: sound, captions, full screen and picture in picture.
    • As a clip plays muted and on a loop while it's on screen, and pauses when it scrolls away, like a moving picture. A small button pauses it. Visitors who've asked their device for less motion see the poster and a play button instead.
  6. Pick a Shape. Video's own takes the shape of the poster, so a screen recording shows without black bars.

A Video block the template added to show a feature's demo clip uses its Poster only until that clip is published; after that it shows the clip's own still.

The page loads only the poster until the video is about to scroll into view, and the video file itself only when it plays. Search engines are told about the video with its title, description and poster. The block's Title names it, and the video's description in the library is used when it has none.

In a course lesson, the first Video block that plays a library, YouTube or Vimeo video (not a clip) gets the lesson player's controls underneath: skips, speed, chapters and, for a library video, Listen. YouTube and Vimeo are driven through their own players' messages, with nothing else of theirs loaded. See Courses.

Replace the video in the library and every page that plays it gets the new one. The library won't delete a video, poster or captions file while something uses it, and Used on lists where.

Videos in the docs

These docs play feature videos the same way. A line of its own in a doc

::video{demo="affiliates" title="Refer and earn"}

plays a feature's demo clip with its poster and captions, and ::video{src="media:<id>" clip} plays a published demo's video by its library id. A demo line whose clip isn't published yet is left out quietly, and the video shows up once the clip is published. A line that names a clip that isn't in the feature catalogue, or a media:<id> that isn't a published demo's video, fails the checks that run before a release (pnpm verify), so a typo never ships.

Add a map

Choose Map and type an address or place name into Place, like "10 Downing Street, London". You can also paste a Google Maps link to a place, or the embed code from Google Maps' Share → Embed a map. Set the Zoom (1 shows the world, 21 a building) and the shape.

Short maps.app.goo.gl links can't be shown on a page; type the address instead.

Google Maps and embed code load other companies' code, which may set cookies. When your cookie banner is set to Ask first, maps and HTML embeds wait until the visitor accepts. Until then each shows a placeholder the same size, with what it is, one button (Show map or Load content) that loads just that one, a line saying where it loads from, and a Cookie settings link that opens the banner again. A map also offers Open in Google Maps. Once a visitor accepts, everything loads by itself. With the banner off, or set to a notice, they load straight away.

A video waits for its play button anyway, so pressing play is the visitor's choice for that video.

Add your own embed code

Choose HTML embed and paste the code a service gave you: a booking widget, a podcast player, a newsletter form. It runs on the live page inside a sealed frame of its own, so it can't read your visitors' sign-in, your site's storage or the rest of the page. Its links open in a new tab.

  • The code can be up to 20,000 characters.
  • Set the Height, or turn on Fit content so the frame grows and shrinks with what's inside.
  • The editor shows the start of your code, not the widget: open the page to see it working.

Only admins can add or change embed code.

Tabs

Tabs show one panel at a time under a row of tab buttons: plans, features, steps of a process. They arrive with three tabs. In the panel on the right, Tabs lists them: choose one to edit it on the canvas, move it up or down, remove it, or Add a tab. Double-click a tab's name on the canvas to rename it. Each tab holds any blocks: text, images, buttons, even a form.

Choose the look under Look: pills or an underlined line, and give the tabs a Name, like "Plans", for screen readers. Visitors move between tabs with a click, or with the arrow keys once a tab has focus.

Accordion

An accordion is a list of questions that open to show their answers, the usual shape for an FAQ. It arrives with three questions. Edit them like tabs: rename a question on the canvas, add, reorder or remove them in the panel, and put any blocks in an answer.

  • Open at once chooses whether only one answer stays open at a time or several can.
  • First answer opens the first one when the page loads.
  • Look: cards or lines.

In the editor every answer is open so you can edit them all.

Slideshow

A slideshow shows slides one after another, with arrows, dots, swipe on phones and drag with a mouse. It arrives with three image slides; add, reorder and remove them in the panel like tabs, and put anything in a slide. Give it a Name, like "Our office", for screen readers.

  • Per view: 1 to 4 slides at once on desktop. Tablets show up to 2. Phones show one at a time, with a glimpse of the next when you show more than one.
  • Autoplay is off by default. When it's on, it moves on after the number of Seconds you set (2 to 30). It pauses while a visitor's pointer or keyboard is on it, has a pause button, and stays still for visitors who've asked their device for less motion.
  • Loop goes back to the start after the last slide. Arrows and Dots can each be turned off.

Open images full screen

Select an image and set Full screen to On click. Visitors can click it to see it large on a dark background. When a section has several of these images, the arrows (or a swipe) move between them. Escape, the close button or a click on the dark area closes it.

An image inside a box that links somewhere (a card with Link to) opens the link instead: its full-screen badge in the editor is faint to show it.

Good to know

  • Everything here is in the page's HTML, so it loads without jumping about and search engines see the text in every tab and answer.
  • Nothing you insert steals your clicks in the editor: clicking a tab, question or slide selects it, and videos, maps and embeds never play on the canvas. A library video shows its poster there.

Something unclear or missing? Ask us and we'll answer, then fix the page.

Was this page helpful?

Built with Overlays