putting youtube on an svg web page.
I know I can create an svg web page via Inkscape. I can add url anchors to it. But can I by any mechanism put a Youtube video on it or do I have to use an html subpage and an url anchor to reach it?
Why do you want an SVG webpage rather than an HTML webpage with SVG graphics? -Arlo James Barnes
Hi John!
I don't know how you can embed a video using the Inkscape-GUI, but it can be done editing the XML directly. It should work, if you add a "foreignobject" node with a "video" child node.
Something down the lines of:
<foreignobject xmlns="http://www.w3.org/2000/svg" x="767.70032" y="198.79166" width="400" height="250"> <video src="replaceWithVideoUrl" xmlns="http://www.w3.org/1999/xhtml"></video> </foreignobject>
JessyInk uses this method. Just that in this case the nodes are added using javascript when the image is opened in a browser.
Cheers, Hannes
On 08/05/14 00:03, john Culleton wrote:
I know I can create an svg web page via Inkscape. I can add url anchors to it. But can I by any mechanism put a Youtube video on it or do I have to use an html subpage and an url anchor to reach it?
participants (3)
-
Arlo Barnes
-
Hannes Hochreiner
-
john Culleton