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/mediastream_recording_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/mediastream_recording_api')
-rw-r--r-- | files/zh-cn/web/api/mediastream_recording_api/index.html | 62 | ||||
-rw-r--r-- | files/zh-cn/web/api/mediastream_recording_api/using_the_mediastream_recording_api/index.html | 56 |
2 files changed, 2 insertions, 116 deletions
diff --git a/files/zh-cn/web/api/mediastream_recording_api/index.html b/files/zh-cn/web/api/mediastream_recording_api/index.html index 81abb53450..c633476759 100644 --- a/files/zh-cn/web/api/mediastream_recording_api/index.html +++ b/files/zh-cn/web/api/mediastream_recording_api/index.html @@ -149,67 +149,7 @@ setTimeout(event => { <h2 id="浏览器支持情况">浏览器支持情况</h2> -<p>{{CompatibilityTable}}</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>Microsoft Edge</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatChrome(47.0)}}</td> - <td>{{CompatGeckoDesktop("25.0")}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Android</th> - <th>Android Webview</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome for Android</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatNo}}</td> - <td>{{CompatChrome(47.0)}}</td> - <td>{{CompatGeckoDesktop("25.0")}}</td> - <td>1.3<sup>[1]</sup></td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatChrome(47.0)}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] The initial Firefox OS implementation only supported audio recording.</p> - -<p>[2] To use {{domxref("MediaRecorder")}} in Chrome 47 and 48, enable <strong>experimental Web Platform features</strong> from the <code>chrome://flags</code> page.</p> - -<p>[3] Audio recording works in Chrome 49 and above; Chrome 47 and 48 only support video recording.</p> +{{Compat("api.MediaRecorder")}} <h2 id="参阅">参阅</h2> diff --git a/files/zh-cn/web/api/mediastream_recording_api/using_the_mediastream_recording_api/index.html b/files/zh-cn/web/api/mediastream_recording_api/using_the_mediastream_recording_api/index.html index c0e24fdedd..b1d30bf645 100644 --- a/files/zh-cn/web/api/mediastream_recording_api/using_the_mediastream_recording_api/index.html +++ b/files/zh-cn/web/api/mediastream_recording_api/using_the_mediastream_recording_api/index.html @@ -248,61 +248,7 @@ mediaRecorder.ondataavailable = function(e) { <h2 id="Browser_compatibility">Browser compatibility</h2> -<p>{{CompatibilityTable}}</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>Basic support</td> - <td>{{CompatChrome(47)}}</td> - <td>{{CompatGeckoDesktop("25.0")}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Android</th> - <th>Android Webview</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome Mobile</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatNo}}</td> - <td>{{CompatChrome(47)}}</td> - <td>{{CompatGeckoDesktop("25.0")}}</td> - <td>1.3<sup>[1]</sup></td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatChrome(47)}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] The initial Firefox OS implementation only supported audio recording.</p> +{{Compat("api.MediaRecorder")}} <h2 id="See_also">See also</h2> |