I have a basic range slider, which I\'m using to replace the youtube video timeline through the embed API. My code sets the max value of the range slider to the duration of the