Code: Select all
<div>
<video>
<source src="{url}/video.mp4">
<source src="{url}/video.webm">
</video>
</div>
Any help or advice is appreciated, thanks!
Code: Select all
<div>
<video>
<source src="{url}/video.mp4">
<source src="{url}/video.webm">
</video>
</div>
{url}
will not do what you want.source
.Code: Select all
<source src="{URL}/video.mp4" />
img
or br
) do not have to be closed but elements from other specs (e.g. HTML5) do if they are followed by another element. Additionally, if the template uses any xsl:
elements, everything should be closed and the template should be valid XML.