Media progress timer

Using the controls below you'll be able to experiment with the ProgressTimer API right here in your browser. For more usage info see https://github.com/adamcik/media-progress-timer.


      
Create a new instance
Sets the target FPS for the setTimeout fallback mode.
Forces the use of setTimout based fallback code on browsers that don't support requestAnimationFrame (intended for testing).
Call methods on existing instance
Current position of timer in milliseconds, used in set calls.
Current duration of timer in milliseconds, used in set calls. May be blank, in which case the previously configured duration will be used.