How to Embed Gaussian Splats in Websites

Updated February 2026 ยท 4 min read

Want to add interactive 3D viewers to your website, portfolio, or Notion page? SplatHost makes it as easy as copy-pasting an iframe. This guide covers all major platforms.

Getting Your Embed Code

  1. Upload your PLY or SPLAT file to SplatHost
  2. Click the Share button on your splat
  3. Copy the Embed Code (it looks like this):
<iframe src="https://splat.host/embed/abc123" width="800" height="600" frameborder="0"></iframe>

Platform-Specific Guides

๐Ÿ“ Notion

Method 1: Embed Block (Recommended)

  1. Type /embed in Notion
  2. Paste your SplatHost link (e.g., https://splat.host/embed/abc123)
  3. Press Enter โ€” the 3D viewer will load automatically

Method 2: Iframe Block

  1. Type /html to create an HTML block
  2. Paste the full iframe code
  3. Adjust width/height as needed
Note: Free Notion accounts may limit iframe embeds. Use Method 1 (Embed Block) for best results.

๐Ÿ“ฐ WordPress

Block Editor (Gutenberg)

  1. Add a Custom HTML block
  2. Paste your iframe code
  3. Preview to confirm it works

Classic Editor

  1. Switch to the Text tab (not Visual)
  2. Paste your iframe code where you want it
  3. Switch back to Visual to see the preview
<!-- WordPress-specific sizing --> <iframe src="https://splat.host/embed/abc123" width="100%" height="600" style="max-width: 800px;" frameborder="0"> </iframe>

๐ŸŒŠ Webflow

  1. Add an Embed element to your page
  2. Paste your iframe code
  3. Set the embed height (e.g., 600px)
  4. Publish to see it live

Pro Tip: Use Webflow's position: relative wrapper to make the iframe responsive:

<div style="position: relative; padding-bottom: 75%; height: 0;"> <iframe src="https://splat.host/embed/abc123" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" frameborder="0"> </iframe> </div>

๐ŸŽจ Squarespace

  1. Add a Code Block to your page
  2. Paste your iframe code
  3. Adjust height in the block settings
  4. Save and publish

๐Ÿ’ป HTML Website

Just paste the iframe code directly into your HTML:

<div class="splat-viewer"> <iframe src="https://splat.host/embed/abc123" width="100%" height="600" frameborder="0" allowfullscreen> </iframe> </div>

Add CSS for responsive sizing:

.splat-viewer { position: relative; padding-bottom: 56.25%; /* 16:9 aspect ratio */ height: 0; overflow: hidden; } .splat-viewer iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

Customization Options

Aspect Ratios

Embed URL Parameters

Add these to your embed URL for custom behavior:

<iframe src="https://splat.host/embed/abc123?autorotate=true" ...>

Troubleshooting

Iframe Not Showing

Iframe Too Small/Large

Use the responsive wrapper code above, or set a fixed height like height="800" in the iframe tag.

Notion Won't Load Embed

Use the direct link method (/embed block) instead of HTML. Notion prefers simple URLs over iframe code.

Ready to Host Your 3D Splats?

We're currently in private beta. Join the waitlist to get early access when we launch.

Join Waitlist โ†’

Related Guides