diff options
Diffstat (limited to 'files/ja/web/api/htmlmediaelement/ended/index.html')
-rw-r--r-- | files/ja/web/api/htmlmediaelement/ended/index.html | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/files/ja/web/api/htmlmediaelement/ended/index.html b/files/ja/web/api/htmlmediaelement/ended/index.html new file mode 100644 index 0000000000..faab0d4526 --- /dev/null +++ b/files/ja/web/api/htmlmediaelement/ended/index.html @@ -0,0 +1,68 @@ +--- +title: HTMLMediaElement.ended +slug: Web/API/HTMLMediaElement/ended +tags: + - API + - HTML DOM + - HTMLMediaElement + - Property + - Read-only + - Web + - ended +translation_of: Web/API/HTMLMediaElement/ended +--- +<div>{{APIRef("HTML DOM")}}</div> + +<p><span class="seoSummary"><strong><code>HTMLMediaElement.ended</code></strong> は、メディア要素が再生を終了したかどうかを示します。</span></p> + +<h2 id="Syntax" name="Syntax">構文</h2> + +<pre class="syntaxbox">var <em>isEnded</em> = <em>HTMLMediaElement</em>.ended</pre> + +<h3 id="Value" name="Value">値</h3> + +<p>要素に含まれるメディアの再生が終了した場合に <code>true</code> となる {{jsxref("Boolean")}}。</p> + +<p>メディアのソースが {{domxref("MediaStream")}} の場合、ストリームの {{domxref("MediaStream.active", "active")}} プロパティの値が <code>false</code> の場合、この値は <code>true</code> です。</p> + +<h2 id="Example" name="Example">例</h2> + +<pre class="brush: js">var obj = document.createElement('video'); +console.log(obj.ended); // false +</pre> + +<h2 id="Specifications" name="Specifications">仕様</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">仕様</th> + <th scope="col">状態</th> + <th scope="col">コメント</th> + </tr> + <tr> + <td>{{SpecName('HTML WHATWG', "#dom-media-ended", "HTMLMediaElement.ended")}}</td> + <td>{{Spec2('HTML WHATWG')}}</td> + <td> </td> + </tr> + <tr> + <td>{{SpecName('HTML5 W3C', "embedded-content-0.html#htmlmediaelement", "HTMLMediaElement.ended")}}</td> + <td>{{Spec2('HTML5 W3C')}}</td> + <td> </td> + </tr> + </tbody> +</table> + +<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> + + + +<p>{{Compat("api.HTMLMediaElement.ended")}}</p> + +<h2 id="See_Also" name="See_Also">関連情報</h2> + +<ul> + <li>これを定義するインターフェース、{{domxref("HTMLMediaElement")}}。</li> + <li>{{domxref("MediaStream")}}</li> + <li>{{domxref("MediaStream.active")}}</li> +</ul> |