Skip to content

Commit

Permalink
[zh-cn]: create the translation of HTMLMediaElement seeking property
Browse files Browse the repository at this point in the history
  • Loading branch information
T34-active committed Jan 14, 2025
1 parent 9afa3f5 commit 93d3567
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions files/zh-cn/web/api/htmlmediaelement/seeking/index.md
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")}}

0 comments on commit 93d3567

Please sign in to comment.