whole_func_string: function setLanguage(input) {
  	    var passive = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  
  	    if (!is$1.string(input)) {
  	      this.debug.warn('Invalid language argument', input);
  	      return;
  	    } // Normalize
  
  
  	    var language = input.toLowerCase();
  	    this.captions.language = language; // Set currentTrack
  
  	    var tracks = captions.getTracks.call(this);
  	    var track = captions.findTrack.call(this, [language]);
  	    captions.set.call(this, tracks.indexOf(track), passive);
  	  }
func_code_string: function setLanguage(input) {
  	    var passive = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  
  	    if (!is$1.string(input)) {
  	      this.debug.warn('Invalid language argument', input);
  	      return;
  	    } // Normalize
  
  
  	    var language = input.toLowerCase();
  	    this.captions.language = language; // Set currentTrack
  
  	    var tracks = captions.getTracks.call(this);
  	    var track = captions.findTrack.call(this, [language]);
  	    captions.set.call(this, tracks.indexOf(track), passive);
  	  }
func_documentation_string: Set captions by language Used internally for the language setter with the passive option forced to false