HTML5 Video Element Accessibility: Example

Video Element Example

  <video controls">
    <source src="media/gb-imovie-mobile.mp4" type="video/mp4">
    <source src="media/gb-imovie-mobile.webm" type="video/ogg">
    <track  kind="captions" 
            src="media/groundbreaking.vtt" 
            srclang="en" 
            label="English Captioning">
  </video>
      

VTT Time Text Format Example

WEBVTT

00:00:00.000 --> 00:00:00.500


00:00:07.140 --> 00:00:26.860
[music]

00:00:26.860 --> 00:00:29.696
Recognizing our members of the armed forces

00:00:29.696 --> 00:00:33.266
who have fallen, and supporting those who have served,

00:00:33.266 --> 00:00:35.869
and returned home is a strong,