updateRangeFill(target) {
        // Get range from event if event passed
        const range = utils.is.event(target) ? target.target : target;

        // Needs to be a valid <input type='range'>
        if (!utils.is.element(range) || range.getAttribute('type') !== 'range') {
            return;
        }

        // Set aria value for https://github.com/sampotts/plyr/issues/905
        range.setAttribute('aria-valuenow', range.value);

        // WebKit only
        if (!browser.isWebkit) {
            return;
        }

        // Set CSS custom property
        range.style.setProperty('--value', `${range.value / range.max * 100}%`);
    }
// Webkit polyfill for lower fill range
Webkit polyfill for lower fill range
Webkit polyfill for lower fill range
updateRangeFill(target) {
        const range = utils.is.event(target) ? target.target : target;
        if (!utils.is.element(range) || range.getAttribute('type') !== 'range') {
            return;
        }
        range.setAttribute('aria-valuenow', range.value);
        if (!browser.isWebkit) {
            return;
        }
        range.style.setProperty('--value', `${range.value / range.max * 100}%`);
    }
updateRangeFill ( target ) { const range = utils . is . event ( target ) ? target . target : target ; if ( ! utils . is . element ( range ) || range . getAttribute ( 'type' ) !== 'range' ) { return ; } range . setAttribute ( 'aria-valuenow' , range . value ) ; if ( ! browser . isWebkit ) { return ; } range . style . setProperty ( '--value' , ` ${ range . value / range . max * 100 } ` ) ; }
Webkit polyfill for lower fill range
Webkit polyfill for lower fill range
// Get range from event if event passed // Needs to be a valid <input type='range'> // Set aria value for https://github.com/sampotts/plyr/issues/905 // WebKit only // Set CSS custom property