video and vtt links

master
Michael Murtaugh 5 years ago
parent ef52bbce86
commit 23c4072ee2

@ -9,10 +9,10 @@
<p>Playing with <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API">WebVTT</a> and the <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/cuechange_event">cuechange</a> events.</p> <p>Playing with <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API">WebVTT</a> and the <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/cuechange_event">cuechange</a> events.</p>
<video controls> <video controls>
<source src="dream.mp4"></source> <source src="/sandbox/12/dream.mp4"></source>
<track default kind="captions" <track default kind="captions"
srclang="en" srclang="en"
src="dream.en.vtt"/> src="/sandbox/12/dream.mp4"/>
</video> </video>
<script> <script>

Loading…
Cancel
Save