Tips and tricks
How to Embed DynTube Videos in Patreon
This guide explains how to embed your DynTube videos in Patreon posts and how to configure your domain whitelist so the videos play correctly for your patrons.
How Patreon Handles Embedded Videos
When you paste a video link into a Patreon post, Patreon does not load the video directly from your site. Instead, it routes the embed through Embedly, a third-party service Patreon uses to render rich media content.
As a result, the embedding page DynTube sees is Embedly’s, not patreon.com. That only matters if you restrict domains: DynTube matches the embedding page’s host against your allowed-domains list — the host first, then host plus path — and refuses playback with a 403 when neither matches. If your allowed-domains list is empty there is no origin restriction at all, and nothing on this page is needed for playback to work.
Step 1: Whitelist the Required Domains
In the dashboard, go to Settings → Global (/settings/global). The page opens on the Allowed Domains tab, which holds the Whitelist Domains list. Add these entries, then choose Save Domains:
- patreon.com
- cdn.embedly.com
The cdn.embedly.com entry is there because Patreon has delivered embedded players through Embedly’s CDN, so the host that reaches DynTube is Embedly’s rather than patreon.com. With patreon.com alone on the list, a request arriving from the Embedly host does not match and playback is refused.
Enter hostnames without the http:// or https:// prefix — a saved value carrying a protocol is rejected. Your plan caps how many domains the list may hold, and the page shows how much of that allowance is in use.
Step 2: Embed Your Video in a Patreon Post
- Create or edit a post in Patreon.
- Paste the public URL of your DynTube video into the post body.
- Patreon will automatically generate an Embedly preview of the video.
- Publish the post and verify playback as a logged-in patron.
If the Video Is Encrypted
Encrypted videos need one extra request: the player fetches a decryption key from DynTube, and that request is authorised too. Two things are worth knowing before you treat it as the cause of a failure:
- The allowed-domains list is applied to key requests only when it is not empty — keys are not withheld from unlisted origins by default. So whitelisting is what creates the restriction; encryption on its own does not.
- The account option Allow encryption keys on all origins, on the same Allowed Domains tab, exempts key requests from that check entirely. If it is on, an unlisted Embedly host is not what is blocking your key request.
- Whichever list applies to the video — the account list, or the project’s if that project overrides domains — is the one the key request is checked against, so add the entries there.
Troubleshooting
If the video fails to play after publishing:
- Confirm that both patreon.com and cdn.embedly.com are present in whichever list applies to the video — the account list at /settings/global, or the owning project’s list if it overrides domains.
- Check which host was actually refused rather than assuming it is cdn.embedly.com. Open the browser’s network panel on the published post and look at the refused playback request; if the host is a different Embedly or Patreon domain, whitelist that one.
- Clear the Patreon post’s cached preview by removing and re-adding the video URL.
- If a request reaches DynTube with no origin at all, no host can be matched. The account option Allow iframe embeds without origin treats that request as valid — it is a deliberate loosening, and it also lets this account’s embed URLs be opened directly outside an iframe, so turn it on only if you have that specific problem.
Related Documentation
- How to Secure Your Videos on DynTube
- How to Upload & Embed Videos
Related Articles
- How to Upload & Embed Videos
- Embed Videos Using the New Video Player
- Developer Resources
Something missing or wrong here? Tell us and we will correct it. New to DynTube? Start with uploading and embedding.