Answer the question
In order to leave comments, you need to log in
Is it possible to replace input[type=range] with a full featured slider slider for Web Player?
Guys, hello :) We are writing a video-audio player here and would not like to load extra scripts. Is it possible today, using input[type=range], to create a slider-slider with an indication of viewed and downloaded without adding extra libs? Or is it not worth it?
Answer the question
In order to leave comments, you need to log in
Can.
When the video is on, programmatically change the value for the indication of the viewed.
Loaded indication can be implemented using a background image, and then changing the background-size
var percent = 35;
var h = $('.ползунок').height();
var h = h * percent / 100;
$('.ползунок').css('background-size', '100% ' + percent + 'px');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question