Skip to content

Iframe embed

Open it live: maverickrender.com/scratchpad/viewer-iframe

Iframe embed example

The zero-JavaScript route: a scene published from the Excelsior Editor with Create Link, embedded with a plain <iframe> and its shortcode. No Viewer SDK license or code is involved, and it works anywhere that accepts an iframe, including Shopify.

The shortcode is the w= value in the link the editor gives you when you publish: if your shared link is https://maverickexcelsior.com/viewer?w=AB12CD, then AB12CD is what goes into the iframe URL below.

<iframe
  src="https://maverickexcelsior.com/iframe/?w=XXXXXXXXXXX"
  frameborder="0"
  allowfullscreen
  loading="lazy">
</iframe>

If this is all you need, the Embedding an iframe page covers it in depth. Come back to the Viewer SDK guide the day you want the page and the viewer to talk to each other.

Found a mistake?

We do our best to keep this reference accurate and in step with the product, but mistakes and omissions can slip through, and they are never intentional. If anything here looks wrong, incomplete, or unclear, please contact us and we will gladly fix it.