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.

Custom iframe src

See original GitHub issue

Allow to pass a custom iframe src base path, this is helpful when rendering documents and other non-streamable file types using and external viewer: Like viewer.js or mozzilla pdf.js

const source = `${customSource}?file=blob:src...`
<iframe src={source} />

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ferosscommented, May 3, 2018

Hey @btzr-io, can you explain what the use case is that you’re trying to solve in more detail? I’m afraid I don’t understand what problem this solves. Thanks!

0reactions
btzr-iocommented, May 5, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Specifying content of an iframe instead of the src attribute to a ...
Is there a way to specify the iframe content in the same document, or can it only be specified with the src attribute,...
Read more >
Using The HTML Tag To Create Inline Frames: Here's How »
The <iframe> creates an inline frame, which embeds an independent HTML ... <iframe width="560" height="315" src="https://www.youtube.com/embed/owsfdh4gxyc" ...
Read more >
HTML DOM IFrame src Property - W3Schools
Specifies the URL of the document to embed in the iframe. Possible values: An absolute URL - points to another web site (like...
Read more >
<iframe>: The Inline Frame element - HTML - MDN Web Docs
The HTML element represents a nested browsing context, embedding another HTML page into the current one.
Read more >
What Is an Iframe? [+ How to Embed Content With Iframes]
To use an iframe, we use the <iframe> HTML tag. This tag requires a src (source) attribute, which specifies the URL of the...
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