question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with "perspective": live sample iframe blocked

See original GitHub issue

MDN 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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
escattonecommented, Sep 3, 2021

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 for fen-us/web/css/css_transforms/using_css_transforms (because it’s transcluded via the page 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.

1reaction
escattonecommented, Sep 3, 2021

This has been fixed, thanks everyone.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found