This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://raw.github.com/cgiffard/Captionator/master/js/captionator-min.js"></script> | |
<script> | |
window.onload=function(){ | |
captionator.captionify(); | |
} | |
</script> | |
</head> | |
<body> | |
<video controls id="videoDemo" width="100%"> | |
<source src="http://happyworm.com/video/m4v/arduino.m4v" type="video/mp4" /> | |
<source src="http://happyworm.com/video/webm/arduino.webm" type="video/webm" /> | |
<source src="http://happyworm.com/video/ogv/arduino.ogv" type="video/ogg" /> | |
<!-- VTT file must be on your local server --> | |
<track kind="captions" src="arduino-en.vtt" type="text/vtt" srclang="en" label="English Subtitles" default /> | |
<div class="message"> | |
<p><strong>Sorry, you'll need an HTML5 Video capable browser to view this example.</strong></p> | |
</div> | |
</video> | |
<body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment