-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[zh-cn]: create the translation of HTMLMediaElement
seeking
property
- Loading branch information
1 parent
9afa3f5
commit 93d3567
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
title: HTMLMediaElement:seeking 属性 | ||
slug: Web/API/HTMLMediaElement/seeking | ||
l10n: | ||
sourceCommit: 2e84c228bf55def31fcd3ac3a0227b5faed99657 | ||
--- | ||
|
||
{{APIRef("HTML DOM")}} | ||
|
||
{{domxref("HTMLMediaElement")}} 接口的 **`seeking`** 只读属性是一个布尔值,表示 {{htmlelement("audio")}} 或 {{htmlelement("video")}} 是否正在定位到新的播放位置。 | ||
|
||
## 值 | ||
|
||
布尔值。 | ||
|
||
## 示例 | ||
|
||
```js | ||
const el = document.querySelector("video"); | ||
console.log(el.seeking); // true 或 false | ||
``` | ||
|
||
## 规范 | ||
|
||
{{Specifications}} | ||
|
||
## 浏览器兼容性 | ||
|
||
{{Compat}} | ||
|
||
## 参见 | ||
|
||
- {{domxref("HTMLMediaElement.seeking_event", "seeking")}} event | ||
- {{domxref("HTMLMediaElement.seeked_event", "seeked")}} event | ||
- {{domxref("HTMLVideoElement")}} | ||
- {{domxref("HTMLAudioElement")}} |