Skip to main content
The code is the same everywhere. Only the place you paste it changes. Every snippet below is generated for you: open your video, go to the Embed tab, and copy. Do not hand-write it.

The two shapes

The default. Self-contained, mounts where you put it. Use it when your builder lets you drop a raw HTML block into the page body.
If your video is in an active split test, copy the snippet from the Embed tab and paste it as-is. A hand-edited script embed pinned to one video code will not rotate arms. Every viewer sees the same one and your test measures nothing.
The Embed tab also gives you a head code block: preload and dns-prefetch hints. Paste it into your page <head> if your builder has one. It shortens time to first frame, and a slow first frame kills the sale before the hook lands.

Per-builder

Row or Element → Custom JS/HTML.Head code goes in Settings → Tracking Code → Head.ClickFunnels wraps the element in its own container, so keep the snippet’s width:100%.
Add Element → Custom HTML/JavaScript.If the step strips your <script>, switch to the loader embed: ClickFunnels usually allows a single external script.
Funnels and websites: Element → Custom Code / HTML.Head code goes in Funnel/Website Settings → Head Tracking Code.GHL email and SMS cannot run JavaScript. Link to a landing page instead of trying to embed the player in the message.
Page section → Custom Code block, or Settings → Code for site-wide head code.Kajabi sandboxes some blocks. If the player does not mount, switch to the loader embed.
Prefer Settings → Custom Code → Body-end. That gives you a full-width player.Wix’s Embed HTML widget runs inside a sandboxed iframe. Tracking still fires, but the iframe pins the height and you lose responsive sizing.
Code Block on the page, or Settings → Advanced → Code Injection for the head.Code Blocks only allow <script> on Business plans and above. On a lower plan, link to a hosted page instead.
Add → Embed (the HTML Embed component). Head code goes in Project Settings → Custom Code → Head.Webflow’s Embed defaults to display:inline-block. Put it in a full-width div.
Use the TrackPlay block or shortcode from the WordPress plugin, not an HTML widget. The block stays split-test-aware and survives editor re-saves; a pasted raw embed does neither.
Use the plugin shortcode:
Or paste the video’s share URL on its own line and let oEmbed handle it.
Custom HTML / Embed widget.These builders often defer scripts. If the player mounts late, the loader embed with data-trackplay-lazy is more reliable.

Which snippet do I want?

When it does not work

Your builder stripped the inline <script>. Switch to the loader embed: an external script survives most sanitisers.
A parent column is forcing a fixed height. The container is width:100% with an aspect-ratio; make sure nothing above it overrides the height.
Almost always a split test with a hand-edited embed pinned to a child video. Re-copy the snippet from the Embed tab.
Each needs its own container id and data-trackplay-video. Do not paste the same snippet twice.
Add the head code block.