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