Hola
Tengo este codigo
Código HTML:
<video width="480" height="360" controls>
<src="emblem_video_480x360.webm" type="video/webm"/>
<src="emblem_video_480x360.mp4" type="video/mp4"/>
<src="emblem_video_480x360.ogg" type="video/ogg" />
<p> Sorry, your browser does not support embedded video. You can <a href="emblem_video_480x360.mp4">download</a> it instead </p>
</video>
Pero al intentar validar la página me dan los siguientes errores:
Error: Element src="emblem_video_480x360.webm" not allowed as child of element video in this context. (Suppressing further errors from this subtree.)
From line 82, column 6; to line 82, column 57
ols>↩ <src="emblem_video_480x360.webm" type="video/webm"/>↩
Content model for element video:
If the element has a src attribute: zero or more track elements, then transparent, but with no media element descendants.
If the element does not have a src attribute: zero or more source elements, then zero or more track elements, then transparent, but with no media element descendants.
Error: Self-closing syntax (/>) used on a non-void HTML element. Ignoring the slash and treating as a start tag.
From line 82, column 6; to line 82, column 57
ols>↩ <src="emblem_video_480x360.webm" type="video/webm"/>↩
¿Cómo puede ser que no me deje poner los videos como child de la etiqueta "video"?
Gracias por adelantado