WebVTT

From MozillaWiki
Revision as of 18:51, 13 June 2013 by Rillian (talk | contribs) (→‎WEBVTT: Remove top-level header. The page title takes care of that.)
Jump to navigation Jump to search

Overview

WebVTT: Web Video Text Tracks is a concerted effort to bring subtitles that run natively on the browser to the web. WEBVTT functions by attaching an external WEBVTT file to the <video> element via the <track> element like so:

<video src="video.webm">
  <track src="sample.webvtt">
</video>

Where sample.vtt is an external WEBVTT file marked up like so:

WEBVTT

00:01.000 --> 00:03.000
Hey!

00:03.000 --> 00:05.000
This is a sample!

If you feel like some self-punishment you can check out more about how it works by reading the WEBVTT spec as well as the HTML5 Track Element spec.

Status

Currently you can view basic subtitles in Mozilla's Nightly builds. The basic WEBVTT tags such as <b>, <u>, and <i> are working.

Get Involved

There are many ways you can help out Mozilla's implementation of WEBVTT. You can help by:


Jump on #media on irc.mozilla.org to co-ordinate with contributors. Look for :rillian, :reyre, :caitp, or :msaad.