Why HTML demos break
An HTML demo is a copy of your page, and a copy loses what the page loads from elsewhere. Where they break, and what a recording has to do about each.
A page isn't one file
A web page pulls in its fonts, pictures and stylesheets from addresses of their own, and runs scripts that change it as you use it. A copy that keeps only the page’s HTML still asks those addresses for everything else, so it breaks when one of them changes, or when there’s no connection.
Fonts
Recording a page usually keeps the rules that name its fonts, not the fonts themselves. The copy then draws its words in another typeface, and it looks almost right. Showpiece carries the fonts in the file.
Styles that can't be read back
Some of a page’s styles can’t be read back out of the browser once they’re in it: a few ways of writing them come back empty, and a recorder that reads them that way can lose a whole headline without a word. Ours keeps each stylesheet as it was written.
Pictures, and what's left out
Pictures, and the files a stylesheet names, live at addresses of their own. Ours puts each one inside the file, so it plays with no connection. One too big to keep, or that couldn’t be fetched, is named in the editor, and the file asks your site for it.
Canvases
A chart drawn on a canvas isn’t in the page’s HTML at all: it’s pixels the page painted. Ours records a canvas as video, so it moves in the demo as it did. In Safari, and on an iPhone or iPad, a recorded canvas shows the still it began with.
Frames from other sites
A frame from another site, a map or a payment form, is someone else’s page inside yours. Ours records it from inside the frame, which needs the extension’s access to all sites. One it couldn’t get into is named, and replays blank.
Scripts that run by themselves
A copy that runs the page’s own scripts can redirect, pop things up, or ask a server for things, in front of whoever’s watching. Ours shows the page and runs none of it: what moved on screen is replayed as it moved.
How to check one
Open the file with the network off. Whatever it still needed from elsewhere is missing now. In the editor, the banner above the stage says what couldn’t come along, before you export (what it can’t record).
Where it stops
- A WebGL canvas drawn once and never touched can't be read back: it replays blank, and it's named if it was on screen.
- A very short animation isn't recorded: the replay shows it finished.
- Style rules a page added from its code before you pressed Record can't be read back. They're named, and those parts may look different.
- An HTML demo is Pro's. On Free and Basic, the extension records your app as video: its pixels, as Chrome drew them.
Record your first demo.
It's free to start. Add the extension and press record.