From f3fcf9b5b8c5e67a82041b19793dd58c0d2dd5ef Mon Sep 17 00:00:00 2001 From: Matthew McClure Date: Tue, 26 Nov 2013 16:57:20 -0800 Subject: [PATCH] Close GH-815: Export text tracks. --- src/js/exports.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/js/exports.js b/src/js/exports.js index 1698408094..2fc79f5822 100644 --- a/src/js/exports.js +++ b/src/js/exports.js @@ -64,6 +64,7 @@ goog.exportProperty(vjs.Player.prototype, 'dispose', vjs.Player.prototype.dispos goog.exportProperty(vjs.Player.prototype, 'requestFullScreen', vjs.Player.prototype.requestFullScreen); goog.exportProperty(vjs.Player.prototype, 'cancelFullScreen', vjs.Player.prototype.cancelFullScreen); goog.exportProperty(vjs.Player.prototype, 'bufferedPercent', vjs.Player.prototype.bufferedPercent); +goog.exportProperty(vjs.Player.prototype, 'textTracks', vjs.Player.prototype.textTracks); goog.exportProperty(vjs.Player.prototype, 'usingNativeControls', vjs.Player.prototype.usingNativeControls); goog.exportProperty(vjs.Player.prototype, 'reportUserActivity', vjs.Player.prototype.reportUserActivity); goog.exportProperty(vjs.Player.prototype, 'userActive', vjs.Player.prototype.userActive); @@ -133,6 +134,10 @@ goog.exportProperty(vjs.Flash, 'onReady', vjs.Flash['onReady']); goog.exportSymbol('videojs.TextTrack', vjs.TextTrack); goog.exportProperty(vjs.TextTrack.prototype, 'label', vjs.TextTrack.prototype.label); +goog.exportProperty(vjs.TextTrack.prototype, 'kind', vjs.TextTrack.prototype.kind); +goog.exportProperty(vjs.TextTrack.prototype, 'mode', vjs.TextTrack.prototype.mode); +goog.exportProperty(vjs.TextTrack.prototype, 'cues', vjs.TextTrack.prototype.cues); +goog.exportProperty(vjs.TextTrack.prototype, 'activeCues', vjs.TextTrack.prototype.activeCues); goog.exportSymbol('videojs.CaptionsTrack', vjs.CaptionsTrack); goog.exportSymbol('videojs.SubtitlesTrack', vjs.SubtitlesTrack);