Use multiple audio tracks from a video file. Useful for descriptive audio.
Switch branches/tags
Nothing to show
Clone or download
Latest commit f9d64bc Dec 12, 2015
Permalink
Failed to load latest commit information.
dist vjsstandard style Dec 12, 2015
src vjsstandard style Dec 12, 2015
test Update icon mapping Dec 2, 2015
.editorconfig Make it so Dec 2, 2015
.gitignore Make it so Dec 2, 2015
.npmignore Make it so Dec 2, 2015
LICENSE Make it so Dec 2, 2015
Readme.md Make it so Dec 2, 2015
package.json Bump version Dec 12, 2015

Readme.md

VideoJS Audio Tracks

A Videojs plugin to use with video files that contain multiple audio tracks. Useful for audio descriptions, director commentary, and additional languages.

Note

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.

Usage

Include:

  • videojs-audio-tracks.min.css
  • videojs-audio-tracks.min.js
  var player = videojs('example-video');
  player.AudioTracks({
    default: 0,
    descriptive: 1
  });

Example

Example using Video.js 5

Support

Browser testing for this project has been graciously donated by BrowserStack.

License

Licesned Apache 2. See LICENSE file.