Latest commit 34aab3f Jan 20, 2017 @gkatsev gkatsev committed on GitHub feat: middleware (#3788)
Add middleware support. Middleware can function as go-between between the player and the tech. For example, it can modify the duration that the tech returns to the player. In addition, middleware allow for supporting custom video sources and types.

Currently, middleware can only intercept timeline methods like duration, currentTime, and setCurrentTime.

For example,
videojs.use('video/foo', {
  setSource(src, next) {
    next(null, {
      src: '',
      type: 'video/mp4'
Will allow you to set a source with type `video/foo` which will play back `video.mp4`.

This makes setting the source asynchronous, which aligns it with the spec a bit more. Methods like play can still be called synchronously on the player after setting the source and the player will play once the source has loaded.

`sourceOrder` option was removed as well and it will now always use source ordering.

BREAKING CHANGE: setting the source is now asynchronous. `sourceOrder` option removed and made the default.
Failed to load latest commit information.
css feat(volume panel): accessibly volume control (#3957) Jan 19, 2017
js feat: middleware (#3788) Jan 19, 2017