aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/mediatracksupportedconstraints/aspectratio/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/api/mediatracksupportedconstraints/aspectratio/index.html')
-rw-r--r--files/ja/web/api/mediatracksupportedconstraints/aspectratio/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ja/web/api/mediatracksupportedconstraints/aspectratio/index.html b/files/ja/web/api/mediatracksupportedconstraints/aspectratio/index.html
index 095af21b0f..a5d39d5c28 100644
--- a/files/ja/web/api/mediatracksupportedconstraints/aspectratio/index.html
+++ b/files/ja/web/api/mediatracksupportedconstraints/aspectratio/index.html
@@ -5,7 +5,7 @@ translation_of: Web/API/MediaTrackSupportedConstraints/aspectRatio
---
<p>{{APIRef("Media Capture and Streams")}}</p>
-<p><a href="https://developer.mozilla.org/ja/docs/Web/API/MediaTrackSupportedConstraints" title="MediaTrackSupportedConstraintsディクショナリは、MediaStreamTrackオブジェクトを実装しているuser agentやブラウザによって理解できる制約可能なプロパティの一覧を表します。MediaDevices.getSupportedConstraints()によって、MediaTrackSupportedConstraintsに適合するオブジェクトが戻り値として返されます。"><code>MediaTrackSupportedConstraints</code></a>ディクショナリーの<strong><code>aspectRatio</code></strong>プロパティは読み取り専用のBooleanの値です。<a href="https://developer.mozilla.org/ja/docs/Glossary/user_agent" rel="nofollow" title="この用語 (user agent) の定義はまだ書かれていません。ぜひご寄稿ください!">user agent</a>が<strong><code>aspectRatio</code></strong>の制約をサポートしている場合、<a href="https://developer.mozilla.org/ja/docs/Web/API/MediaDevices/getSupportedConstraints" title="MediaDevices インタフェースのgetSupportedConstraints() メソッドは、MediaTrackSupportedConstraintsディクショナリをベースとするオブジェクトを戻り値として返します。このオブジェクトのメンバーフィールドは、user agentが扱えるメディア制約に関するプロパティを表しています。"><code>MediaDevices.getSupportedConstraints()</code></a>の戻り値のオブジェクトに含まれ<code>true</code>が設定されます。この制約がサポートされない場合は含まれないため、<code>false</code>になることはありません。</p>
+<p><a href="/ja/docs/Web/API/MediaTrackSupportedConstraints" title="MediaTrackSupportedConstraintsディクショナリは、MediaStreamTrackオブジェクトを実装しているuser agentやブラウザによって理解できる制約可能なプロパティの一覧を表します。MediaDevices.getSupportedConstraints()によって、MediaTrackSupportedConstraintsに適合するオブジェクトが戻り値として返されます。"><code>MediaTrackSupportedConstraints</code></a>ディクショナリーの<strong><code>aspectRatio</code></strong>プロパティは読み取り専用のBooleanの値です。<a href="/ja/docs/Glossary/user_agent" rel="nofollow" title="この用語 (user agent) の定義はまだ書かれていません。ぜひご寄稿ください!">user agent</a>が<strong><code>aspectRatio</code></strong>の制約をサポートしている場合、<a href="/ja/docs/Web/API/MediaDevices/getSupportedConstraints" title="MediaDevices インタフェースのgetSupportedConstraints() メソッドは、MediaTrackSupportedConstraintsディクショナリをベースとするオブジェクトを戻り値として返します。このオブジェクトのメンバーフィールドは、user agentが扱えるメディア制約に関するプロパティを表しています。"><code>MediaDevices.getSupportedConstraints()</code></a>の戻り値のオブジェクトに含まれ<code>true</code>が設定されます。この制約がサポートされない場合は含まれないため、<code>false</code>になることはありません。</p>
<p>サポートされている制約のディクショナリーは<code>navigator.mediaDevices.getSupportedConstraints()</code>を呼び出すことで取得できます。</p>
@@ -72,7 +72,7 @@ if (navigator.mediaDevices.getSupportedConstraints()["aspectRatio"]) {
<h2 id="関連項目">関連項目</h2>
<ul>
- <li><a href="/en-US/docs/Web/API/Media_Streams_API">Media Capture and Streams API</a></li>
+ <li><a href="/ja/docs/Web/API/Media_Streams_API">Media Capture and Streams API</a></li>
<li>{{domxref("MediaDevices.getSupportedConstraints()")}}</li>
<li>{{domxref("MediaTrackSupportedConstraints")}}</li>
<li>{{domxref("MediaStreamTrack")}}</li>