whole_func_string: function setAspectRatio(input) {
  	  if (!this.isVideo) {
  	    return {};
  	  }
  
  	  var ratio = getAspectRatio.call(this, input);
  
  	  var _ref = is$1.array(ratio) ? ratio : [0, 0],
  	      _ref2 = _slicedToArray(_ref, 2),
  	      w = _ref2[0],
  	      h = _ref2[1];
  
  	  var padding = 100 / w * h;
  	  this.elements.wrapper.style.paddingBottom = "".concat(padding, "%"); // For Vimeo we have an extra <div> to hide the standard controls and UI
  
  	  if (this.isVimeo && this.supported.ui) {
  	    var height = 240;
  	    var offset = (height - padding) / (height / 50);
  	    this.media.style.transform = "translateY(-".concat(offset, "%)");
  	  } else if (this.isHTML5) {
  	    this.elements.wrapper.classList.toggle(this.config.classNames.videoFixedRatio, ratio !== null);
  	  }
  
  	  return {
  	    padding: padding,
  	    ratio: ratio
  	  };
  	}
func_code_string: function setAspectRatio(input) {
  	  if (!this.isVideo) {
  	    return {};
  	  }
  
  	  var ratio = getAspectRatio.call(this, input);
  
  	  var _ref = is$1.array(ratio) ? ratio : [0, 0],
  	      _ref2 = _slicedToArray(_ref, 2),
  	      w = _ref2[0],
  	      h = _ref2[1];
  
  	  var padding = 100 / w * h;
  	  this.elements.wrapper.style.paddingBottom = "".concat(padding, "%"); // For Vimeo we have an extra <div> to hide the standard controls and UI
  
  	  if (this.isVimeo && this.supported.ui) {
  	    var height = 240;
  	    var offset = (height - padding) / (height / 50);
  	    this.media.style.transform = "translateY(-".concat(offset, "%)");
  	  } else if (this.isHTML5) {
  	    this.elements.wrapper.classList.toggle(this.config.classNames.videoFixedRatio, ratio !== null);
  	  }
  
  	  return {
  	    padding: padding,
  	    ratio: ratio
  	  };
  	}
func_documentation_string: Set aspect ratio for responsive container