[racket] Embedding Video in Scribble HTML
In December, Jens Axel Søgaard asked about embedding a YouTube video
in the Scribble HTML output:
> It (finally) dawned on me that I have two problems.
> I thougt this would display a YouTube player on the HTML page:
>
> @exact|{<iframe title="YouTube video player" class="youtube-player"
> type="text/html" width="480" height="390"
> src="http://www.youtube.com/embed/J3WIPS3Uh_A?rel=0"
> frameborder="0"></iframe>}|
>
> But since the element passes through the renderer, I get the above
> string displayed as is on the HTML page.
> Is there a loop hole that allows one to pass HTML untouched through
> the renderer?
I didn't see a solution to this, and I would like to do the same
thing? Is there a way to do this? Ideally, I would like a
conditional form that allows me to embed the video in HTML output or
an image (such as a screenshot from the video) if the output is PDF.
Justin