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:
parent
2066474096
commit
beb329ad71
@ -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(){};
|
||||
|
Loading…
Reference in New Issue
Block a user