1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-31 03:11:11 +02:00

Make textTracks an extern

TextTracks are queried during player initialization whether they're present or not so the method must be present on Player objects. Make sure the method name isn't minified so it's possible to create a Player object without having to extend videojs.Player directly.
This commit is contained in:
David LaPalomento 2013-12-03 14:09:16 -05:00
parent 2066474096
commit beb329ad71

View File

@ -9,3 +9,8 @@
videojs.Player.prototype.isFullScreen = undefined;
videojs.Player.prototype.requestFullScreen = function(){};
videojs.Player.prototype.cancelFullScreen = function(){};
/**
* Text tracks
*/
videojs.Player.prototype.textTracks = function(){};