Issue with "perspective": live sample iframe blocked
See original GitHub issueMDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/perspective
What information was incorrect, unhelpful, or incomplete?
Specific section or headline?
Examples
What did you expect to see?
cant see the result I see an error “yari-demos.prod.mdn.mozit.cloud refused to connect.”
Did you test this? If so, how?
MDN Content page report details
- Folder:
en-us/web/css/perspective
- MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/perspective
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/css/perspective/index.md
- Last commit: https://github.com/mdn/content/commit/26f50bdaeb1228f458d21dbdf7dc110387b20daa
- Document last modified: 2021-08-12T23:59:09.000Z
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
About iFrame Blocking - PathFactory
An iframe, or inline frame, is a tag that is used to embed an HTML document inside another HTML document on a website....
Read more >Iframes and communicating between applications
The problem is this: I want an iframe to be added to the HTML DOM when the user interacts with an element, in...
Read more >iframe blocked as insecure content, even though the iframe is ...
This is an old question but I encountered the same issue. My use case is slighty different to yours, but hopefully this helps....
Read more >YouTube Player API Reference for iframe Embeds
The IFrame player API lets you embed a YouTube video player on your website and control the player using JavaScript. Using the API's...
Read more >4.8.2 The iframe element — HTML5 - W3C
In the following example, a Java applet is embedded in a page using the object element. (Generally speaking, it is better to avoid...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This was really tricky. If you build
en-us/web/css/perspective
by itself, its live samples build just fine. However, when you build it with all of the other docs, its live-samples fail to build. This is because when it’s built with all of the other docs, it’s built as a prerequisite of the build forfen-us/web/css/css_transforms/using_css_transforms
(because it’s transcluded via thepage
macro), and when building prerequisites, the URL is lower-cased here:https://github.com/mdn/yari/blob/d3b97a4dcd26da88a6dc08839bcdb9bf0d17576c/kumascript/index.js#L88
which, in turn, caused the check of when to build a live-sample to fail here:
https://github.com/mdn/yari/blob/d3b97a4dcd26da88a6dc08839bcdb9bf0d17576c/kumascript/src/live-sample.js#L76
because the case of the strings didn’t match.
This has been fixed, thanks everyone.