W3cubDocs

/DOM

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

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
initialTime property ? 9.0 (9.0)
No support 23[1]
? ? ?
Feature Android Firefox Mobile (Gecko) Firefox OS (Gecko) IE Mobile Opera Mobile Safari Mobile
initialTime property ? 9.0 (9.0)
No support 23[1]
(Yes) ? ? ?

[1] The support for this API was removed again, because it got removed from the specification due to missing use cases. See bug 742537.

See also

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/initialTime