Embed methods overview
The current dashboard generates one site-ready player method: an HTML container with data-player-id plus the asynchronous AtomicPlayer runtime.
Get the supported snippet
- For one video, open Videos → video → Embed & Share (or select Get embed).
- For all configured videos in a workspace, open Integrations & APIs → Integrations.
Editors can publish the player and copy its code from Embed & Share. The workspace embed catalog also shows the published version or draft state.
<div class="atomic-player" data-player-id="PLAYER_ID"></div>
<script async src="https://embed.atomicplayer.ai/player/v1.js"></script>
Paste both lines into an HTML/code element. If a platform strips scripts, use that platform's custom-code facility or follow its guide; the dashboard does not currently generate an iframe, lazy-load variant, or framework package snippet.
Player behavior is configured under the video's Customize tab. Domain access is under Settings → Domain access and takes effect only after Save & publish.
A/B test embed
A test has its own snippet under A/B Tests → test details. Select Copy test embed and place it on the page where the experiment should run. It uses the test ID, not a player ID:
<div class="atomic-player" data-test-id="TEST_ID"></div>
<script async src="https://embed.atomicplayer.ai/player/v1.js"></script>
A draft test embed serves the control video without recording experiment traffic. After launch, the same snippet assigns variants. A video's data-player-id embed always plays that video and does not become a test embed automatically.
Related docs
Frequently asked questions
Where is the old Embeds menu?
There is no separate Embeds navigation section. Use Integrations & APIs → Integrations, or open a video and choose Embed & Share.
Does the dashboard generate an iframe?
No. Current production code generates the data-player-id container and async runtime shown above.