nl_tokens: Creates an instance of this class .
pl_tokens: function TextTrackDisplay ( player , options , ready ) { classCallCheck ( this , TextTrackDisplay ) ; var _this = possibleConstructorReturn ( this , _Component . call ( this , player , options , ready ) ) ; player . on ( 'loadstart' , bind ( _this , _this . toggleDisplay ) ) ; player . on ( 'texttrackchange' , bind ( _this , _this . updateDisplay ) ) ; player . on ( 'loadstart' , bind ( _this , _this . preselectTrack ) ) ; // This used to be called during player init, but was causing an error // if a track should show by default and the display hadn't loaded yet. // Should probably be moved to an external track loader when we support // tracks that don't need a display. player . ready ( bind ( _this , function ( ) { if ( player . tech_ && player . tech_ . featuresNativeTextTracks ) { this . hide ( ) ; return ; } player . <mask> ( 'fullscreenchange' , bind ( this , this . updateDisplay ) ) ; var tracks = this . options_ . playerOptions . tracks || [ ] ; for ( var i = 0 ; i < tracks . length ; i ++ ) { this . player_ . addRemoteTextTrack ( tracks [ i ] , true ) ; } this . preselectTrack ( ) ; } ) ) ; return _this ; }