demo/dist/demo.js
function createRange(type, attributes) {
	    // Seek input
	    var input = createElement('input', extend(getAttributesFromSelector(this.config.selectors.inputs[type]), {
	      type: 'range',
	      min: 0,
	      max: 100,
	      step: 0.01,
	      value: 0,
	      autocomplete: 'off',
	      // A11y fixes for https://github.com/sampotts/plyr/issues/905
	      role: 'slider',
	      'aria-label': i18n.get(type, this.config),
	      'aria-valuemin': 0,
	      'aria-valuemax': 100,
	      'aria-valuenow': 0
	    }, attributes));
	    this.elements.inputs[type] = input; // Set the fill for webkit now

	    controls.updateRangeFill.call(this, input); // Improve support on touch devices

	    RangeTouch.setup(input);
	    return input;
	  }
function createRange(type, attributes) {
	    // Seek input
	    var input = createElement('input', extend(getAttributesFromSelector(this.config.selectors.inputs[type]), {
	      type: 'range',
	      min: 0,
	      max: 100,
	      step: 0.01,
	      value: 0,
	      autocomplete: 'off',
	      // A11y fixes for https://github.com/sampotts/plyr/issues/905
	      role: 'slider',
	      'aria-label': i18n.get(type, this.config),
	      'aria-valuemin': 0,
	      'aria-valuemax': 100,
	      'aria-valuenow': 0
	    }, attributes));
	    this.elements.inputs[type] = input; // Set the fill for webkit now

	    controls.updateRangeFill.call(this, input); // Improve support on touch devices

	    RangeTouch.setup(input);
	    return input;
	  }
function createRange ( type , attributes ) { // Seek input var input = createElement ( 'input' , extend ( getAttributesFromSelector ( this . config . selectors . inputs [ type ] ) , { type : 'range' , min : 0 , max : 100 , step : 0.01 , value : 0 , autocomplete : 'off' , // A11y fixes for https://github.com/sampotts/plyr/issues/905 role : 'slider' , 'aria-label' : i18n . get ( type , this . config ) , 'aria-valuemin' : 0 , 'aria-valuemax' : 100 , 'aria-valuenow' : 0 } , attributes ) ) ; this . elements . inputs [ type ] = input ; // Set the fill for webkit now controls . updateRangeFill . call ( this , input ) ; // Improve support on touch devices RangeTouch . setup ( input ) ; return input ; }
Create an <input type='range'>
Create an <input type = range >