| 1 |
|
#pattern |
| 2 |
|
<span class=secno>* </span>Network states |
| 3 |
|
#ja |
| 4 |
|
<span class=secno>$1 </span>ネットワーク状態 |
| 5 |
|
|
| 6 |
|
#en |
| 7 |
|
As <a href="#media7" title="media element">media elements</a> interact |
| 8 |
|
with the network, they go through several states. The <dfn id=networkstate |
| 9 |
|
title=dom-media-networkState><code>networkState</code></dfn> attribute, on |
| 10 |
|
getting, must return the current network state of the element, which must |
| 11 |
|
be one of the following values: |
| 12 |
|
#ja |
| 13 |
|
<a href="#media7" title="media element">媒体要素</a>がネットワークと対話するに当たっては、 |
| 14 |
|
いくつかの状態を経ることとなります。<dfn id=networkstate |
| 15 |
|
title=dom-media-networkState><code>networkState</code></dfn> |
| 16 |
|
属性は、取得時、要素の現在のネットワーク状態を返さなければ[[MUST:なりません]]。 |
| 17 |
|
その状態は、次の値のいずれか1つでなければ[[MUST:なりません]]。 |
| 18 |
|
|
| 19 |
|
#pattern |
| 20 |
|
<dfn *</dfn> (numeric value *) |
| 21 |
|
#ja |
| 22 |
|
<dfn $1</dfn> (数値 $2) |
| 23 |
|
|
| 24 |
|
#en |
| 25 |
|
The element has <a href="#pick-a" title="pick a media resource">picked |
| 26 |
|
a media resource</a> (the <a href="#chosen">chosen media resource</a> is |
| 27 |
|
available from the <code title=dom-media-currentSrc><a |
| 28 |
|
href="#currentsrc">currentSrc</a></code> attribute), but none of the |
| 29 |
|
metadata has yet been obtained and therefore all the other attributes are |
| 30 |
|
still in their initial states. |
| 31 |
|
#ja |
| 32 |
|
要素は<a href="#pick-a" title="pick a media resource">媒体資源を選定</a>しました |
| 33 |
|
(<a href="#chosen">選択された媒体資源</a>は <code title=dom-media-currentSrc><a |
| 34 |
|
href="#currentsrc">currentSrc</a></code> 属性から利用可能です。) が、 |
| 35 |
|
メタデータはまだまったく取得されておらず、従って他の属性もまだすべて初期状態にあります。 |
| 36 |
|
|
| 37 |
|
#en |
| 38 |
|
Enough of the resource has been obtained that the metadata attributes |
| 39 |
|
are initialized (e.g. the length is known). The API will no longer raise |
| 40 |
|
exceptions when used. |
| 41 |
|
#ja |
| 42 |
|
資源のうちメタデータ属性を初期化するのに十分な部分が取得されました |
| 43 |
|
(例えば、長さがわかりました)。 API を使用しても、もう例外を発生させません。 |
| 44 |
|
|
| 45 |
|
#en |
| 46 |
|
Actual <a href="#media9">media data</a> has been obtained. In the case |
| 47 |
|
of video, this specifically means that a frame of video is available and |
| 48 |
|
can be shown. |
| 49 |
|
#ja |
| 50 |
|
実際の<a href="#media9">媒体データ</a>が取得されました。動画の場合、 |
| 51 |
|
これは動画のフレームが利用可能となり、提示できることを特に意味します。 |
| 52 |
|
|
| 53 |
|
#en |
| 54 |
|
The entire <a href="#media10">media resource</a> has been obtained and |
| 55 |
|
is available to the user agent locally. Network connectivity could be |
| 56 |
|
lost without affecting the media playback. |
| 57 |
|
#ja |
| 58 |
|
<a href="#media10">媒体資源</a>の全体が取得され、 |
| 59 |
|
利用者エージェントに局所的に利用可能となりました。ネットワーク接続性が失われたとしても、 |
| 60 |
|
媒体の再生に影響することはありません。 |
| 61 |
|
|
| 62 |
|
#en |
| 63 |
|
The algorithm for the <code title=dom-media-load><a |
| 64 |
|
href="#load">load()</a></code> method defined below describes exactly when |
| 65 |
|
the <code title=dom-media-networkState><a |
| 66 |
|
href="#networkstate">networkState</a></code> attribute changes value. |
| 67 |
|
#ja |
| 68 |
|
後に定義する <code title=dom-media-load><a |
| 69 |
|
href="#load">load()</a></code> メソッドの算法で、正確にいつ |
| 70 |
|
<code title=dom-media-networkState><a |
| 71 |
|
href="#networkstate">networkState</a></code> |
| 72 |
|
属性の値が変化するかを説明しています。 |
| 73 |
|
|