code: function getQualityOptions() {
  	    // Get sizes from <source> elements
  	    return html5.getSources.call(this).map(function (source) {
  	      return Number(source.getAttribute('size'));
  	    }).filter(Boolean);
  	  }
docs: Get quality levels