From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../web/api/htmlmediaelement/pause/index.html | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 files/zh-cn/web/api/htmlmediaelement/pause/index.html (limited to 'files/zh-cn/web/api/htmlmediaelement/pause') diff --git a/files/zh-cn/web/api/htmlmediaelement/pause/index.html b/files/zh-cn/web/api/htmlmediaelement/pause/index.html new file mode 100644 index 0000000000..75953aa012 --- /dev/null +++ b/files/zh-cn/web/api/htmlmediaelement/pause/index.html @@ -0,0 +1,56 @@ +--- +title: HTMLMediaElement.pause() +slug: Web/API/HTMLMediaElement/pause +tags: + - 媒体 + - 视频 + - 音频 +translation_of: Web/API/HTMLMediaElement/pause +--- +

{{APIRef("HTML DOM")}}

+ +

HTMLMediaElement.pause() 方法可用来暂停媒体的播放,如果媒体已经处于暂停状态,该方法没有效果.

+ +

语法

+ +
HTMLMediaElement.pause()
+ +

参数

+ +

无.

+ +

返回值

+ +

无.

+ +

异常

+ +

无.

+ +

Specifications

+ + + + + + + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('HTML WHATWG', 'embedded-content.html#dom-media-pause', 'pause()')}}{{Spec2('HTML WHATWG')}}Initial definition; living specification.
{{SpecName('HTML5 W3C','embedded-content-0.html#dom-media-pause','pause()')}}{{Spec2('HTML5 W3C')}}Initial definition.
+ +

浏览器兼容性

+ + + +

{{Compat("api.HTMLMediaElement.pause")}}

-- cgit v1.2.3-54-g00ecf