xsd: video/source

This commit is contained in:
Astro 2013-09-07 12:47:34 +02:00
parent 650d69450a
commit 6431cccc59
2 changed files with 11 additions and 3 deletions

View File

@ -2,8 +2,9 @@
<page title="Videostream">
<video xmlns="http://www.w3.org/1999/xhtml"
src="http://stream.datenspuren.de:8000/Datenspuren_grSaal.ogg"
controls="controls" autoplay="autoplay">
<source type="video/ogg"
src="http://stream.datenspuren.de:8000/Datenspuren_grSaal.ogg"/>
</video>
<p>
Eine Übersicht zu den Streams gibt es auf der

View File

@ -2223,13 +2223,20 @@
<!-- HACK :-) -->
<xs:element name="video">
<xs:complexType mixed="true">
<xs:attributeGroup ref="attrs"/>
<xs:attribute name="src" type="URI"/>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="source"/>
</xs:sequence>
<xs:attribute name="height" type="Length"/>
<xs:attribute name="width" type="Length"/>
<xs:attribute name="controls" type="Text"/>
<xs:attribute name="autoplay" type="Text"/>
</xs:complexType>
</xs:element>
<xs:element name="source">
<xs:complexType mixed="true">
<xs:attribute name="src" type="URI"/>
<xs:attribute name="type" type="Text"/>
</xs:complexType>
</xs:element>
</xs:schema>