fastSeek()
The HTMLMediaElement.fastSeek() method quickly seeks the media to the new time with precision tradeoff.
Browser support
| Feature | Desktop | Mobile | ||||
|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Safari | Chrome Android | Safari iOS | |
| | | 31 | 8 | | 8 | |
1+Supported (version) Not supported ※Has note Sub-feature descriptions sourced from MDN Web Docs (CC BY-SA 2.5)
Syntax
JAVASCRIPT
let myVideo = document.getElementById("myVideoElement");
myVideo.fastSeek(20); Use cases
-
Using fastSeek()
The HTMLMediaElement.
Cautions
- Limited browser support. Check compatibility before use.
Implementation notes
- Some APIs require a secure context (HTTPS) or user activation. Check the requirements before use.