Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. HTMLMediaElement
  4. fastSeek()

HTMLMediaElement: fastSeek() method

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

TheHTMLMediaElement.fastSeek() method quickly seeks themedia to the new time with precision tradeoff.

Note:If you need to seek with precision, you should setHTMLMediaElement.currentTimeinstead.

Syntax

js
fastSeek(time)

Parameters

time

A double.

Return value

None (undefined).

Examples

This example quickly seeks to 20-second position of the video element.

js
let myVideo = document.getElementById("myVideoElement");myVideo.fastSeek(20);

Specifications

Specification
HTML
# dom-media-fastseek-dev

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp