Allowlist additional video providers in the editor preview's frame-src #6549
LividCasey
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
The editor preview at app.mintlify.com blocks iframe embeds from third-party video hosts via CSP (frame-src / OpaqueResponseBlocking). The same embeds render correctly on the published site - so authors just can't see their videos while editing, even though everything works in production.
Steps to reproduce
Context
My case is Livid (livid.com), a video hosting platform: watch pages are oEmbed-compatible with full Open Graph video metadata and an embeddable HTTPS player, and embeds work in published Mintlify docs today. The gap is preview-only. (Support suggested filing this here- thanks Lexi!)
Request
Either of these should solve it:
The second option would presumably help anyone embedding from hosts beyond the current whitelist. Happy to provide test links or connect engineers if useful.
Note: this is related to but distinct from #684 - that request is about frame-ancestors (embedding Mintlify docs elsewhere); this one is about frame-src in the editor preview (rendering third-party embeds inside Mintlify)
All reactions