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
#25442)

Co-authored-by: A1lo <[email protected]>
  • Loading branch information
T34-active and yin1999 authored Jan 19, 2025
1 parent 67bbf8f commit 67084a2
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")}} 事件
- {{domxref("HTMLMediaElement.seeked_event", "seeked")}} 事件
- {{domxref("HTMLVideoElement")}}
- {{domxref("HTMLAudioElement")}}

0 comments on commit 67084a2

Please sign in to comment.