Last active
April 18, 2018 02:28
-
-
Save sh78/93fb5dc5297449418d1f to your computer and use it in GitHub Desktop.
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
<video controls preload="metadata" autoplay loop muted poster="poster_image.png"> | |
<source src="video_file.mp4" type="video/mp4"> | |
<source src="video_file.ogg" type="video/ogg"> | |
<!-- | |
Accessibility: Include valid WEBVTT caption file(s) | |
https://developer.mozilla.org/en-US/Apps/Build/Audio_and_video_delivery/Adding_captions_and_subtitles_to_HTML5_video | |
https://quuz.org/webvtt/ | |
--> | |
<track label="English" kind="subtitles" srclang="en" src="subtitles-en.vtt" default> | |
<track label="Director's Commentary In German" kind="captions" srclang="de" src="commentary-de.vtt"> | |
</video> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment