Is it possible to insert video to svg file (svg-edit editor) ? I would like to use svg-edit for team-work and video youtube insertion is missing at the moment. I found some examples but they does not work, for example this link. Can you please refer me to some resources, which way embed youtube video into svg file in svg-edit ?
Asked
Active
Viewed 223 times
1 Answers
0
you can embed html content using element like:
<foreignObject width="100" height="50"
requiredExtensions="http://www.w3.org/1999/xhtml">
<body xmlns="http://www.w3.org/1999/xhtml">
<p>Here is a paragraph that requires word wrap</p>
</body>
</foreignObject>
you need to specify width and height and include tag with xmlns namespace declaration xmlns="http://www.w3.org/1999/xhtml">
and here's working example (there are some issues with positionning in chrome so best viewed in firefox):
See the Pen NES superAnotherWorld by @rafszul (@rafszul) on CodePen.
rafszul
- 1
- 1