Video, audio and fonts
The library also stores video (MP4, WebM), audio (MP3, WAV, OGG) and font files (WOFF2, WOFF, TTF, OTF). Fonts become selectable theme fonts; video and audio can be previewed in the library and linked from your pages.
Video, audio and fonts
The library also stores video (MP4, WebM), audio (MP3, WAV, OGG) and font files (WOFF2, WOFF, TTF, OTF). Fonts become selectable theme fonts; video and audio can be previewed in the library and linked from your pages.
When to use
- Fonts: your brand typeface for headings or body text.
- Video / audio: a product video, a welcome message, an audio guide — linked for visitors to open.
Custom fonts become theme fonts
- Upload the font file (
.woff2is smallest;.woff,.ttfand.otfalso work) in Assets. Upload one file per weight or style you need; each is added as its own family. - Open Theme and find Custom fonts.
- Under Add a font, type the family name (for example
Brand Sans), pick the uploaded file and click Add font. The panel warns if the chosen file is not a font. - On the font's card click Use for body or Use for headings. The font now appears in the body/heading font dropdowns as Brand Sans (uploaded).
- The font loads in the builder preview and in published apps.
Fonts can be renamed or removed from the same panel; removing a font that is in use reverts those texts to the next font in the stack.
Theme → Custom fonts Brand Sans brand-sans-regular.woff2 [Body font ✓] [Use for headings] Brand Serif brand-serif-bold.woff2 [Use for body] [Headings ✓]
Video and audio
- The library's details panel plays video and audio so you can check the file.
- There is no dedicated Video or Audio component yet. To let visitors watch or listen, add a Button or link with the Open URL action pointing at the file's public URL (tick Open in a new tab); the browser plays MP4/WebM and MP3/WAV/OGG natively. The Download file action offers the file for download instead.
- The 25 MB limit applies; host longer videos on a video platform and link to them with Open URL.
Common mistakes
- Uploading a desktop font with the wrong extension. Only WOFF2, WOFF, TTF and OTF are accepted.
- Adding one family for regular and bold. Each file is one family; name them
Brand SansandBrand Sans Boldand pick them separately for body and headings. - Expecting an embedded player. Linking opens the media in a tab; inline playback inside a page is not available yet.
- Font names with special characters. Family names use letters, numbers, spaces and dashes.
Related
Advanced
Custom fonts are stored in theme.customFonts as { family, assetId }. The runtime root injects an @font-face rule per entry (format inferred from the asset's MIME type, font-display: swap) and the theme's typography.fontFamily / headingFontFamily reference the family. Media files are served inline (Content-Type video/* or audio/*) from /api/files.