HTMLMediaElement.initialTime

Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

The HTMLMediaElement.initialTime is the initial playback position in seconds. This property is obsolete, you can use a Media Fragments URI in the HTMLMediaElement.src attribute instead.

Syntax

...

Value

A double.

Example

...

Specifications

This was previously defined within the WHATWG HTML Living Standard, though was removed because of missing use cases.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support ? No9 — 23 ? ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support ? ? No9 — 23 ? ? ?

See also

Document Tags and Contributors

Contributors to this page: fscholz, Jedipedia, Sebastianz, markg
Last updated by: fscholz,