Skip to content

sprice/videojs-audio-tracks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Use multiple audio tracks from a video file. Useful for descriptive audio.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published