aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/mediadevices/ondevicechange/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/mediadevices/ondevicechange/index.html')
-rw-r--r--files/zh-cn/web/api/mediadevices/ondevicechange/index.html52
1 files changed, 1 insertions, 51 deletions
diff --git a/files/zh-cn/web/api/mediadevices/ondevicechange/index.html b/files/zh-cn/web/api/mediadevices/ondevicechange/index.html
index 5648fc6957..1bf012abf9 100644
--- a/files/zh-cn/web/api/mediadevices/ondevicechange/index.html
+++ b/files/zh-cn/web/api/mediadevices/ondevicechange/index.html
@@ -191,57 +191,7 @@ let videoList = document.getElementById("videoList");</pre>
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<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(57)}}</td>
- <td>{{CompatGeckoDesktop(51)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(34)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOperaMobile(34)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Support for the <code>devicechange</code> event and for {{domxref("MediaDevices.ondevicechange")}} landed in Firefox 51, but <em>only for Mac</em>, and disabled by default. It can be enabled by setting the preference <code>media.ondevicechange.enabled</code> to <code>true</code>. Support for this event was added for Linux and Windows—and it was enabled by default—starting in Firefox 52.</p>
+{{Compat("api.MediaDevices.ondevicechange")}}
<h2 id="See_also">See also</h2>