* self-contained support for Youtube iframes
@ 2022-01-24 16:12 Joseph Reagle
0 siblings, 0 replies; only message in thread
From: Joseph Reagle @ 2022-01-24 16:12 UTC (permalink / raw)
To: pandoc-discuss
My decks often have embedded Youtube iframes which are rendered as simple black boxes with `--self-contained`.
```html
<iframe width="853" height="480" src="https://www.youtube.com/embed/GzV1pNQUX5s?rel=0" frameborder="0" allowfullscreen></iframe>
```
Above becomes:
```html
<iframe width="853" height="480" data-src="data:text/html; charset=utf-8;charset=utf-8,%3C%21DOCTYPE%20html%3E%3Chtml%20lang%3D%22en......
```
I'm not sure what is actually encoded in data-src here...? It's not the video file (which would be asking a lot).
Even though I'm using the self-contained option, I still might like to click on these if network access is available.
Does `self-contained` mean network access is forbidden, or only that a best effort is made to remove dependencies. If the latter could we retain the working/original iframe?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-24 16:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-24 16:12 self-contained support for Youtube iframes Joseph Reagle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).