code: function setSpeedMenu(options) {
  	    var _this8 = this;
  
  	    // Menu required
  	    if (!is$1.element(this.elements.settings.panels.speed)) {
  	      return;
  	    }
  
  	    var type = 'speed';
  	    var list = this.elements.settings.panels.speed.querySelector('[role="menu"]'); // Set the speed options
  
  	    if (is$1.array(options)) {
  	      this.options.speed = options;
  	    } else if (this.isHTML5 || this.isVimeo) {
  	      this.options.speed = [0.5, 0.75, 1, 1.25, 1.5, 1.75, 2];
  	    } // Set options if passed and filter based on config
  
  
  	    this.options.speed = this.options.speed.filter(function (speed) {
  	      return _this8.config.speed.options.includes(speed);
  	    }); // Toggle the pane and tab
  
  	    var toggle = !is$1.empty(this.options.speed) && this.options.speed.length > 1;
  	    controls.toggleMenuButton.call(this, type, toggle); // Empty the menu
  
  	    emptyElement(list); // Check if we need to toggle the parent
  
  	    controls.checkMenu.call(this); // If we're hiding, nothing more to do
  
  	    if (!toggle) {
  	      return;
  	    } // Create items
  
  
  	    this.options.speed.forEach(function (speed) {
  	      controls.createMenuItem.call(_this8, {
  	        value: speed,
  	        list: list,
  	        type: type,
  	        title: controls.getLabel.call(_this8, 'speed', speed)
  	      });
  	    });
  	    controls.updateSetting.call(this, type, list);
  	  }
docs: Set a list of available captions languages