Permalink
Browse files

Multimedia player: Added label and srclang attributes to caption trac…

…ks in working examples (fixes #2935).
  • Loading branch information...
pjackson28 committed Sep 6, 2013
1 parent 3c73190 commit 3b41daece206c0678f486030dc9f7d5b4eda8f87
@@ -116,7 +116,7 @@ <h3>MPEG4 (H264 + AAC) and WebM(VP8) source and HTML captions</h3>
<video width="480" height="270" poster="http://31591.vws.magma.ca/sct-tbs/wet-boew/thumbnail.png" title="Video Example">
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-eng.webm" type="video/webm" />
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-eng.mp4" type="video/mp4" />
<track kind="captions" data-type="text/html" src="mediaplayer-transcript_captions-en.html" />
<track src="mediaplayer-transcript_captions-en.html" kind="captions" data-type="text/html" srclang="en" label="English" />
</video>
<p><a href="mediaplayer-transcript_captions-en.html">Transcript</a></p>
</div></section>
@@ -126,7 +126,7 @@ <h3>MPEG4 (H264 + AAC) and WebM(VP8) sources with TTML captions</h3>
<video width="480" height="270" poster="http://31591.vws.magma.ca/sct-tbs/wet-boew/thumbnail.png" title="Video Example">
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-2-eng.webm" type="video/webm" />
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-2-eng.mp4" type="video/mp4" />
<track kind="captions" data-type="application/ttml+xml" src="captions-en.xml" />
<track src="captions-en.xml" kind="captions" data-type="application/ttml+xml" srclang="en" label="English" />
</video>
<p><a href="mediaplayer-transcript_captions-en.html">Transcript</a></p>
</div></section>
@@ -137,7 +137,7 @@ <h3>MPEG4 (H264 + AAC) source with inline HTML captions</h3>
<p>This example illustrates the use of an inline transcript to provide captions. This example can also demonstrate the fallback mechanism in Web browsers that don't support HTML5 videos.</p>
<video width="480" height="270" poster="http://31591.vws.magma.ca/sct-tbs/wet-boew/thumbnail.png" title="Video Example">
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-3-eng.mp4" type="video/mp4" />
<track kind="captions" data-type="text/html" src="#inline-captions" />
<track src="#inline-captions" kind="captions" data-type="application/ttml+xml" srclang="en" label="English" />
</video>
<details id="inline-captions">
<summary>Small Aircraft Passenger Guidelines - HTML5 Transcript/Captions</summary>
@@ -380,7 +380,7 @@ <h4>Example (Ride of the Valkyries)</h4>
</section>
</section>
<dl id="gcwu-date-mod" role="contentinfo">
<dt>Date modified:</dt><dd><span><time>2013-04-11</time></span></dd>
<dt>Date modified:</dt><dd><span><time>2013-09-06</time></span></dd>
</dl>
<div class="clear"></div>
<!-- MainContentEnd -->
@@ -117,7 +117,7 @@ <h3>MPEG4 (H264 + AAC) and WebM(VP8) source and HTML captions</h3>
<video width="480" height="270" poster="http://31591.vws.magma.ca/sct-tbs/wet-boew/thumbnail.png" title="Video Example">
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-eng.webm" type="video/webm" />
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-eng.mp4" type="video/mp4" />
<track kind="captions" data-type="text/html" src="mediaplayer-transcript_captions-en.html" />
<track src="mediaplayer-transcript_captions-en.html" kind="captions" data-type="text/html" srclang="en" label="English" />
</video>
<p><a href="mediaplayer-transcript_captions-en.html">Transcript</a></p>
</div></section>
@@ -127,7 +127,7 @@ <h3>MPEG4 (H264 + AAC) and WebM(VP8) sources with TTML captions</h3>
<video width="480" height="270" poster="http://31591.vws.magma.ca/sct-tbs/wet-boew/thumbnail.png" title="Video Example">
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-2-eng.webm" type="video/webm" />
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-2-eng.mp4" type="video/mp4" />
<track kind="captions" data-type="application/ttml+xml" src="captions-en.xml" />
<track src="captions-en.xml" kind="captions" data-type="application/ttml+xml" srclang="en" label="English" />
</video>
<p><a href="mediaplayer-transcript_captions-en.html">Transcript</a></p>
</div></section>
@@ -138,7 +138,7 @@ <h3>MPEG4 (H264 + AAC) source with inline HTML captions</h3>
<p>This example illustrates the use of an inline transcript to provide captions. This example can also demonstrate the fallback mechanism in Web browsers that don't support HTML5 videos.</p>
<video width="480" height="270" poster="http://31591.vws.magma.ca/sct-tbs/wet-boew/thumbnail.png" title="Video Example">
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-3-eng.mp4" type="video/mp4" />
<track kind="captions" data-type="text/html" src="#inline-captions" />
<track src="#inline-captions" kind="captions" data-type="application/ttml+xml" srclang="en" label="English" />
</video>
<details id="inline-captions">
<summary>Small Aircraft Passenger Guidelines - HTML5 Transcript/Captions</summary>
@@ -381,7 +381,7 @@ <h4>Example (Ride of the Valkyries)</h4>
</section>
</section>
<dl id="gcwu-date-mod" role="contentinfo">
<dt>Date modified:</dt><dd><span><time>2013-04-11</time></span></dd>
<dt>Date modified:</dt><dd><span><time>2013-09-06</time></span></dd>
</dl>
<div class="clear"></div>
<!-- MainContentEnd -->
@@ -115,7 +115,7 @@ <h3>Sources MPEG4 (H264 + AAC) et WebM(VP8) avec les sous-titres en HTML</h3>
<video width="480" height="270" poster="http://31591.vws.magma.ca/sct-tbs/wet-boew/thumbnail.png" title="Video Example">
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-fra.webm" type="video/webm" />
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-fra.mp4" type="video/mp4" />
<track kind="captions" data-type="text/html" src="mediaplayer-transcript_captions-fr.html" />
<track src="mediaplayer-transcript_captions-fr.html" kind="captions" data-type="text/html" srclang="fr" label="Français" />
</video>
<p><a href="mediaplayer-transcript_captions-fr.html">Transcription</a></p>
</div></section>
@@ -125,7 +125,7 @@ <h3>Sources MPEG4 (H264 + AAC) et WebM(VP8) avec les sous-titres TTML</h3>
<video width="480" height="270" poster="http://31591.vws.magma.ca/sct-tbs/wet-boew/thumbnail.png" title="Video Example">
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-2-fra.webm" type="video/webm" />
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-2-fra.mp4" type="video/mp4" />
<track kind="captions" data-type="application/ttml+xml" src="captions-fr.xml" />
<track src="captions-fr.xml" kind="captions" data-type="application/ttml+xml" srclang="fr" label="Français" />
</video>
<p><a href="mediaplayer-transcript_captions-fr.html">Transcription</a></p>
</div></section>
@@ -136,7 +136,7 @@ <h3>MPEG4 H264 + AAC) et WebM(VP8) sources avec sous-tires en ligne en HTML</h3>
<p lang="en">This example illustrates the use of an inline transcript to provide captions. This example can also demonstrate the fallback mechanism in Web browsers that don't support HTML5 videos.</p>
<video width="480" height="270" poster="http://31591.vws.magma.ca/sct-tbs/wet-boew/thumbnail.png" title="Video Example">
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-3-fra.mp4" type="video/mp4" />
<track kind="captions" data-type="text/html" src="#inline-captions" />
<track src="#inline-captions" kind="captions" data-type="text/html" srclang="fr" label="Français" />
</video>
<details id="inline-captions">
<summary>Lignes directrices pour les passagers de petits avions - Transcription et Sous-Titres HTML5</summary>
@@ -413,7 +413,7 @@ <h4>Exemple (Chevauchée des Walkyries)</h4>
</section>
<dl id="gcwu-date-mod" role="contentinfo">
<dt>Date de modification&#160;:</dt><dd><span><time>2013-04-11</time></span></dd>
<dt>Date de modification&#160;:</dt><dd><span><time>2013-09-06</time></span></dd>
</dl>
<div class="clear"></div>
<!-- MainContentEnd -->
@@ -116,7 +116,7 @@ <h3>Sources MPEG4 (H264 + AAC) et WebM(VP8) avec les sous-titres en HTML</h3>
<video width="480" height="270" poster="http://31591.vws.magma.ca/sct-tbs/wet-boew/thumbnail.png" title="Video Example">
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-fra.webm" type="video/webm" />
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-fra.mp4" type="video/mp4" />
<track kind="captions" data-type="text/html" src="mediaplayer-transcript_captions-fr.html" />
<track src="mediaplayer-transcript_captions-fr.html" kind="captions" data-type="text/html" srclang="fr" label="Français" />
</video>
<p><a href="mediaplayer-transcript_captions-fr.html">Transcription</a></p>
</div></section>
@@ -126,7 +126,7 @@ <h3>Sources MPEG4 (H264 + AAC) et WebM(VP8) avec les sous-titres TTML</h3>
<video width="480" height="270" poster="http://31591.vws.magma.ca/sct-tbs/wet-boew/thumbnail.png" title="Video Example">
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-2-fra.webm" type="video/webm" />
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-2-fra.mp4" type="video/mp4" />
<track kind="captions" data-type="application/ttml+xml" src="captions-fr.xml" />
<track src="captions-fr.xml" kind="captions" data-type="application/ttml+xml" srclang="fr" label="Français" />
</video>
<p><a href="mediaplayer-transcript_captions-fr.html">Transcription</a></p>
</div></section>
@@ -137,7 +137,7 @@ <h3>MPEG4 H264 + AAC) et WebM(VP8) sources avec sous-tires en ligne en HTML</h3>
<p lang="en">This example illustrates the use of an inline transcript to provide captions. This example can also demonstrate the fallback mechanism in Web browsers that don't support HTML5 videos.</p>
<video width="480" height="270" poster="http://31591.vws.magma.ca/sct-tbs/wet-boew/thumbnail.png" title="Video Example">
<source src="http://31591.vws.magma.ca/sct-tbs/wet-boew/demo-3-fra.mp4" type="video/mp4" />
<track kind="captions" data-type="text/html" src="#inline-captions" />
<track src="#inline-captions" kind="captions" data-type="text/html" srclang="fr" label="Français" />
</video>
<details id="inline-captions">
<summary>Lignes directrices pour les passagers de petits avions - Transcription et Sous-Titres HTML5</summary>
@@ -414,7 +414,7 @@ <h4>Exemple (Chevauchée des Walkyries)</h4>
</section>
<dl id="gcwu-date-mod" role="contentinfo">
<dt>Date de modification&#160;:</dt><dd><span><time>2013-04-11</time></span></dd>
<dt>Date de modification&#160;:</dt><dd><span><time>2013-09-06</time></span></dd>
</dl>
<div class="clear"></div>
<!-- MainContentEnd -->

0 comments on commit 3b41dae

Please sign in to comment.