0.2.1 • Published 8 years ago

videojs-audio-tracks v0.2.1

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
8 years ago

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.