A Videojs plugin to use with video files that contain multiple audio tracks. Useful for audio descriptions, director commentary, and additional languages.
As this plugin uses the Audio Tracks API, it is only available in IE 11+ & Safari 8+. Also, it will not work in the Videojs Flash fallback.
Include:
videojs-audio-tracks.min.css
videojs-audio-tracks.min.js
var player = videojs('example-video');
player.AudioTracks({
default: 0,
descriptive: 1
});
Browser testing for this project has been graciously donated by BrowserStack.
Licesned Apache 2. See LICENSE file.