The currTimeState object allows access to the current values of time parameters as they are changing. In this sample, control buttons are activated or disabled, depending on the state of various time parameters of the media object. In addition, a media time display is shown.
Media Timer:0
To view the source code, right-click this page and choose View Source from the shortcut menu that appears.