A video link works directly, but the embedded section remains blank on your own website. A possible cause is the Content Security Policy (CSP). It can specify rules either on the hosting website or on the embedded document itself. An error message indicates which rule is involved, but it does not prove that every blank embedding is due to CSP.
Two pages, two different issues
Imagine a fictional website at https://website.example and a Player document at https://player.example. Both addresses are purely illustrative and not actual Vioneto endpoints. The website wants to load the Player document within an iframe.
- On the embedding page, frame-src determines which iframe sources that page may load.
- On the player document, frame-ancestors determines which parent documents may embed it.
The rules are not interchangeable. An allowed player origin in frame-src does not help if the player does not permit the website as an embedding origin. Conversely, the player document may allow the website, while the website's own policy blocks the request. In nested frames, frame-ancestors checks the entire chain of parent documents.
A concrete diagnosis protocol
- Record the affected page and time. Leave credentials and signed links out of support tickets.
- Read the browser console message and note the directive and origin it refers to.
- On the response for the page that contains the iframe, check whether frame-src or its applicable fallback allows the player origin.
- On the response for the actual iframe document, check whether frame-ancestors allows the ancestor origins. Take applicable headers and redirects into account.
- Ask the administrator responsible for the page or player to check the relevant policy. Retest the published page in the intended browser context.
A reporting-only Content Security Policy directive and an enforcing directive must be distinguished. The mere console message should therefore be evaluated in conjunction with the specific header. According to MDN, frame-ancestors is not replaced by default-src and is not supported through a meta element.
Do not generally disable security rules
Wide sharing or removal of a protection policy may enable unwanted embeds or other security issues. Let the responsible administration specifically review the actually required origins and all affected policies. A direct playable link neither proves that embedding is allowed nor that all player resources have been loaded.
If the cause remains unclear, also check the stored embedding code, video access rules, visibility within the selected context, and browser messages. CSP is just one possible layer of error analysis.