diff options
author | YujiSoftware <yuji.software+github@gmail.com> | 2022-03-02 20:22:51 +0900 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-03-04 01:03:17 +0800 |
commit | 9a110dee28ae2ef12ee014b98fda6bae6ee48edb (patch) | |
tree | 6525763f4313d7d8f42aefa699765f61ee1c63df /files/zh-cn/web/api/media_streams_api | |
parent | eeddb651b6e8deb8ecabc2bc5bc28c8ead25cca5 (diff) | |
download | translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.tar.gz translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.tar.bz2 translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.zip |
Migrate to Compat macro (zh-cn)
Diffstat (limited to 'files/zh-cn/web/api/media_streams_api')
-rw-r--r-- | files/zh-cn/web/api/media_streams_api/index.html | 57 |
1 files changed, 1 insertions, 56 deletions
diff --git a/files/zh-cn/web/api/media_streams_api/index.html b/files/zh-cn/web/api/media_streams_api/index.html index 11040f5120..353446dc73 100644 --- a/files/zh-cn/web/api/media_streams_api/index.html +++ b/files/zh-cn/web/api/media_streams_api/index.html @@ -54,62 +54,7 @@ translation_of: Web/API/Media_Streams_API <h2 id="浏览器支持">浏览器支持</h2> -<p>{{ CompatibilityTable() }}</p> - -<p>{{Compat("api.MediaStream")}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera </th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Stream API </td> - <td>21{{ property_prefix("webkit") }} </td> - <td>nightly 18{{ property_prefix("moz") }} </td> - <td>{{ CompatUnknown() }} </td> - <td>12</td> - <td>{{ CompatUnknown() }} </td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Stream API </td> - <td>{{ CompatNo() }} </td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }} </td> - <td>{{ CompatNo() }} </td> - <td>{{ CompatNo() }} </td> - </tr> - </tbody> -</table> -</div> - -<p>当前已经支持在Chrome,欧朋,和Firefox Nightly 18 浏览器使用WenRTC获取相机功能 。在Firefox Nightly 中启用WebRTC 需要你在配置中进行设置:</p> - -<ul> - <li>在地址栏中输入"about:config" ,在需要改变的地方设置为是</li> - <li>找到 "media.navigator.enabled" 的然后设置为true</li> -</ul> +{{Compat("api.MediaStream")}} <h2 id="See_Also">See Also</h2> |