johndyer/mediaelement — Issue #346: Better Documentation
Author: mgifford
Created: 2012-01-03 22:01:14+00:00
State: open

Couple documentation issues...

1) WebVTT integration is mentioned http://mediaelementjs.com but it isn't clarified how to add it.

From the source of the page it is:

2) elements include just: subtitles, captions, descriptions, chapters & metadata. In which case I think there's a problem with how you implemented it on the example site above. Shouldn't WebVTT files be captions rather than subtitles?

3) The start language I'm assuming is a 2 character ISO code, right?

// automatically selects a element
startLanguage: 'en',

4) I'm unclear what Google Translate can do as it can't work from the video, but I'm assuming would have to go off of a pre-defined . It can't do the initial captioning, right?

// automatically selects a element
startLanguage: '',
// a list of languages to auto-translate via Google
translations: [],
// a dropdownlist of automatic translations
translationSelector: false,
// key for tranlsations
googleApiKey: ''

5) Also, is there a way to provide a different audio tracks? Doesn't seem like HMTL5 has allowed for that:
http://www.w3.org/TR/html5/video.html#the-track-element