Embed interactive dramas on any website with one line of HTML
PlotDoor drama embed lets you drop an interactive player into any website or blog with a single iframe snippet. Here is how to use it and customize the embed for your site.
April 2026 · 3 min read
Why embedding matters
Embedding brings the drama to your existing audience instead of asking them to find it on a new platform. If you have a blog, a newsletter archive page, a community forum, or a portfolio site, embedding lets readers engage with your interactive drama without leaving that context.
Unlocks made through the embedded player count toward your creator earnings identically to unlocks made on PlotDoor Cinema directly. Embedding does not bypass monetization.
Getting the embed code
Navigate to the drama detail page on PlotDoor Cinema. Click the Share button, then select the Embed tab. The embed code panel shows a ready-to-use iframe snippet with your drama ID and the correct player URL already filled in.
Copy the snippet and paste it directly into your HTML. No JavaScript is required. The player loads entirely within the iframe.
iframe attributes and dimensions
The default embed snippet sets a 16:9 aspect ratio at 640 by 360 pixels, which works for most desktop layouts. You can change the `width` and `height` attributes to fit your page, or remove fixed pixel dimensions entirely and use CSS for responsive sizing.
The iframe also includes `allowfullscreen` so viewers can go full-screen within the player. The `allow="autoplay"` attribute is included in the snippet but autoplay behavior depends on browser policy — see the autoplay note below.
Responsive embedding
To make the embed fill its container width while maintaining the 16:9 ratio, wrap the iframe in a container div and apply the following CSS:
- `.drama-embed-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }`
- `.drama-embed-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }`
CORS and autoplay notes
The PlotDoor player is served from `player.reelfork.com` with permissive CORS headers, so embedding works on any origin without server-side configuration on your end.
Autoplay is blocked by most browsers unless the video is muted. The interactive player does not attempt to autoplay by default — it shows a start screen and waits for the viewer to click play. This is consistent with browser autoplay policies and avoids the muted-video problem.
Customizing the start episode
By default, the embed starts at episode one of the drama. To link directly to a specific episode, append a `?episode=<episode_id>` query parameter to the `src` URL in the iframe snippet. Episode IDs are shown in the embed panel when you select a specific episode from the dropdown.