| 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 not yet been initialized. All attributes are in their initial states.
|
| 26 |
#ja
|
| 27 |
要素は、まだ初期化されていません。すべての属性は、それぞれの初期状態にあります。
|
| 28 |
|
| 29 |
#en
|
| 30 |
The element has <a href="#pick-a" title="pick a media resource">picked
|
| 31 |
a media resource</a> (the <a href="#chosen">chosen media resource</a> is
|
| 32 |
available from the <code title=dom-media-currentSrc><a
|
| 33 |
href="#currentsrc">currentSrc</a></code> attribute), but none of the
|
| 34 |
metadata has yet been obtained and therefore all the other attributes are
|
| 35 |
still in their initial states.
|
| 36 |
#ja
|
| 37 |
要素は<a href="#pick-a" title="pick a media resource">媒体資源を選定</a>しました
|
| 38 |
(<a href="#chosen">選択された媒体資源</a>は <code title=dom-media-currentSrc><a
|
| 39 |
href="#currentsrc">currentSrc</a></code> 属性から利用可能です。) が、
|
| 40 |
メタデータはまだまったく取得されておらず、従って他の属性もまだすべて初期状態にあります。
|
| 41 |
|
| 42 |
#en
|
| 43 |
Enough of the resource has been obtained that the metadata attributes
|
| 44 |
are initialized (e.g. the length is known). The API will no longer raise
|
| 45 |
exceptions when used.
|
| 46 |
#ja
|
| 47 |
資源のうちメタデータ属性を初期化するのに十分な部分が取得されました
|
| 48 |
(例えば、長さがわかりました)。 API を使用しても、もう例外を発生させません。
|
| 49 |
|
| 50 |
#en
|
| 51 |
Actual <a href="#media9">media data</a> has been obtained. In the case
|
| 52 |
of video, this specifically means that a frame of video is available and
|
| 53 |
can be shown.
|
| 54 |
#ja
|
| 55 |
実際の<a href="#media9">媒体データ</a>が取得されました。動画の場合、
|
| 56 |
これは動画のフレームが利用可能となり、提示できることを特に意味します。
|
| 57 |
|
| 58 |
#en
|
| 59 |
The entire <a href="#media10">media resource</a> has been obtained and
|
| 60 |
is available to the user agent locally. Network connectivity could be
|
| 61 |
lost without affecting the media playback.
|
| 62 |
#ja
|
| 63 |
<a href="#media10">媒体資源</a>の全体が取得され、
|
| 64 |
利用者エージェントに局所的に利用可能となりました。ネットワーク接続性が失われたとしても、
|
| 65 |
媒体の再生に影響することはありません。
|
| 66 |
|
| 67 |
#en
|
| 68 |
The algorithm for the <code title=dom-media-load><a
|
| 69 |
href="#load">load()</a></code> method defined below describes exactly when
|
| 70 |
the <code title=dom-media-networkState><a
|
| 71 |
href="#networkstate">networkState</a></code> attribute changes value.
|
| 72 |
#ja
|
| 73 |
後に定義する <code title=dom-media-load><a
|
| 74 |
href="#load">load()</a></code> メソッドの算法で、正確にいつ
|
| 75 |
<code title=dom-media-networkState><a
|
| 76 |
href="#networkstate">networkState</a></code>
|
| 77 |
属性の値が変化するかを説明しています。
|
| 78 |
|