Add subtitles to video on home page

This commit is contained in:
Dan Shick 2020-04-08 12:41:00 -04:00 committed by Simon Ser
parent 28a6a9f759
commit 02a1a576e9
2 changed files with 251 additions and 0 deletions

View file

@ -27,6 +27,7 @@ layout: master
<script src="/js/video.js"></script>
<video class="video-js vjs-16-9" data-setup="{}" controls>
<source src="https://sr.ht/lJ9C.webm" type="video/webm">
<track src="assets/lJ9C.vtt" kind="captions" srclang="en" label="English">
<p>Your browser does not support HTML5 video.</p>
</video>
</div>