mirror of
https://github.com/videojs/video.js.git
synced 2025-01-02 06:32:07 +02:00
@misteroneill re-exposed videojs.TextTrack. closes #2625
This commit is contained in:
parent
8fbe0a947f
commit
3f8be868bd
@ -140,6 +140,7 @@ CHANGELOG
|
||||
* @imbcmdth extended createTimeRange to support multiple timeranges ([view](https://github.com/videojs/video.js/pull/2604))
|
||||
* @misteroneill rename "extends" to "extend" for ie8 ([view](https://github.com/videojs/video.js/pull/2624))
|
||||
* @forbesjo removed the PhantomJS dependency ([view](https://github.com/videojs/video.js/pull/2622))
|
||||
* @misteroneill re-exposed videojs.TextTrack ([view](https://github.com/videojs/video.js/pull/2625))
|
||||
|
||||
--------------------
|
||||
|
||||
|
@ -11,6 +11,7 @@ import Player from './player';
|
||||
import plugin from './plugins.js';
|
||||
import mergeOptions from '../../src/js/utils/merge-options.js';
|
||||
import * as Fn from './utils/fn.js';
|
||||
import TextTrack from './tracks/text-track.js';
|
||||
|
||||
import assign from 'object.assign';
|
||||
import { createTimeRanges } from './utils/time-ranges.js';
|
||||
@ -479,6 +480,13 @@ videojs.trigger = Events.trigger;
|
||||
*/
|
||||
videojs.xhr = xhr;
|
||||
|
||||
/**
|
||||
* TextTrack class
|
||||
*
|
||||
* @type {Function}
|
||||
*/
|
||||
videojs.TextTrack = TextTrack;
|
||||
|
||||
// REMOVING: We probably should add this to the migration plugin
|
||||
// // Expose but deprecate the window[componentName] method for accessing components
|
||||
// Object.getOwnPropertyNames(Component.components).forEach(function(name){
|
||||
|
Loading…
Reference in New Issue
Block a user