javascript youtube like slider control
问题 I've a question about implementing a slider control in a browser. I need to playback data over time, in a browser. I will have one Worker filling the playback buffer by making calls to a REST api. The UI thread will then consume the buffer and playback the data to the user. I want to simulate YouTube progress UI control. It shows you in a single UI control how much you've watched, and how much has been prefetched. Is it possible to adapt a slider control to do this ? The jQuery UI range