Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline iframes #229

Open
soshimee opened this issue Jun 7, 2022 · 2 comments
Open

Inline iframes #229

soshimee opened this issue Jun 7, 2022 · 2 comments

Comments

@soshimee
Copy link

soshimee commented Jun 7, 2022

This doesn't seem to inline iframes, which I need to be inlined. I think this can be done with base64.

@remy
Copy link
Owner

remy commented Jun 7, 2022

You'd have to recursively inline every asset in the iframe target. Doable, but not so fun! Can't remember what the support for srcDoc is like, might be a cleaner option, but yeah, base64 would do the trick too.

@soshimee
Copy link
Author

soshimee commented Jun 8, 2022

It looks like most browsers support srcDoc (except IE which almost no one uses now). Yeah, it would definitely be a pain to inline all the iframe srcs as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants