This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
The HTMLMediaElement.fastSeek()
method quickly seeks the media to the new time with precision tradeoff.
Syntax
HTMLMediaElement.fastSeek(time);
Parameters
- time
- A double.
Return value
None.
Example
This example quickly seeks to 20-second position of the video element.
let myVideo = document.getElementById("myVideoElement"); myVideo.fastSeek(20000);
Specifications
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard The definition of 'fastSeek()' in that specification. |
Living Standard | Initial definition; living specification. |
Unknown The definition of 'fastSeek()' in that specification. |
Unknown | Initial definition. |