aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/htmlmediaelement
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/htmlmediaelement')
-rw-r--r--files/zh-cn/web/api/htmlmediaelement/index.html2
-rw-r--r--files/zh-cn/web/api/htmlmediaelement/pause_event/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/api/htmlmediaelement/index.html b/files/zh-cn/web/api/htmlmediaelement/index.html
index 0fc7ee5662..07692b8b6c 100644
--- a/files/zh-cn/web/api/htmlmediaelement/index.html
+++ b/files/zh-cn/web/api/htmlmediaelement/index.html
@@ -14,7 +14,7 @@ translation_of: Web/API/HTMLMediaElement
<div>HTML媒体元素接口在属性和方法中添加了 {{domxref("HTMLElement", "HTML元素")}}来支持基础的媒体相关的能力,就像audio和video一样。{{domxref("HTMLVideoElement", "HTML 视频元素")}}和 {{domxref("HTMLAudioElement", "HTML 音频元素")}}元素都继承自此接口。</div>
-<div></div>
+
<div>{{InheritanceDiagram(600, 180)}}</div>
diff --git a/files/zh-cn/web/api/htmlmediaelement/pause_event/index.html b/files/zh-cn/web/api/htmlmediaelement/pause_event/index.html
index 824f4bb5ff..97d32786b2 100644
--- a/files/zh-cn/web/api/htmlmediaelement/pause_event/index.html
+++ b/files/zh-cn/web/api/htmlmediaelement/pause_event/index.html
@@ -5,7 +5,7 @@ translation_of: Web/API/HTMLMediaElement/pause_event
---
<div>{{APIRef("HTMLMediaElement")}}</div>
-<div></div>
+
<p><span class="seoSummary">当暂停媒体播放时 <code>pause</code> 事件触发, 并且媒体进入暂停状态,最常见的是通过<code>pause()</code>方法来触发。</span> 当<code>pause()</code> 触发时<code>pause</code>状态只改变1次,并且媒体的<code>pause</code>变成 <code>true</code>。</p>