aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/api/mediasource
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software+github@gmail.com>2022-03-02 20:01:54 +0900
committerIrvin <irvinfly@gmail.com>2022-03-04 01:02:45 +0800
commitc46e9da7f68bd682fc9ff1452b7fe63df1227151 (patch)
treefe6c6e20521b16a22ec64755b88a39effd81a4d7 /files/zh-tw/web/api/mediasource
parente671353fc364cef89441d031e0e8b9300b67951b (diff)
downloadtranslated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.tar.gz
translated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.tar.bz2
translated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.zip
Migrate to Compat macro (zh-tw)
Diffstat (limited to 'files/zh-tw/web/api/mediasource')
-rw-r--r--files/zh-tw/web/api/mediasource/activesourcebuffers/index.html61
-rw-r--r--files/zh-tw/web/api/mediasource/duration/index.html61
-rw-r--r--files/zh-tw/web/api/mediasource/mediasource/index.html57
-rw-r--r--files/zh-tw/web/api/mediasource/readystate/index.html61
4 files changed, 4 insertions, 236 deletions
diff --git a/files/zh-tw/web/api/mediasource/activesourcebuffers/index.html b/files/zh-tw/web/api/mediasource/activesourcebuffers/index.html
index 90777f675c..83ee5a8c95 100644
--- a/files/zh-tw/web/api/mediasource/activesourcebuffers/index.html
+++ b/files/zh-tw/web/api/mediasource/activesourcebuffers/index.html
@@ -57,66 +57,7 @@ translation_of: Web/API/MediaSource/activeSourceBuffers
<h2 id="相容性表格">相容性表格</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>23</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("25.0")}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop("42.0")}}</td>
- <td>11<sup>[2]</sup></td>
- <td>15</td>
- <td>8</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4.4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>
- <p>{{CompatNo}}</p>
- </td>
- <td>{{CompatNo}}</td>
- <td>11</td>
- <td>30</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在切換 about:config 偏好設定 media.mediasource.enabled 為 true 時可以使用。此外,支援只限於白名單內的網站,如:YouTube, Netflix, 以及其他熱門的串流網站。白名單已經被移除且 Media Source Extensions 在 42+ 對所有網站已預設為啟用。</p>
-
-<p>[2] 只在 Windows 8+ 上有效。</p>
+{{Compat("api.MediaSource.activeSourceBuffers")}}
<h2 id="相關資料">相關資料</h2>
diff --git a/files/zh-tw/web/api/mediasource/duration/index.html b/files/zh-tw/web/api/mediasource/duration/index.html
index b9fab966e4..1b6acc66b1 100644
--- a/files/zh-tw/web/api/mediasource/duration/index.html
+++ b/files/zh-tw/web/api/mediasource/duration/index.html
@@ -80,66 +80,7 @@ var myDuration = mediaSource.duration;</pre>
<h2 id="相容性表格">相容性表格</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>23</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("25.0")}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop("42.0")}}</td>
- <td>11<sup>[2]</sup></td>
- <td>15</td>
- <td>8</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4.4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>
- <p>{{CompatNo}}</p>
- </td>
- <td>{{CompatNo}}</td>
- <td>11</td>
- <td>30</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在切換 <code>about:config</code> 偏好設定 <code>media.mediasource.enabled</code> 為 <code>true</code>時可以使用。此外,支援只限於白名單內的網站,如:YouTube, Netflix, 以及其他熱門的串流網站。白名單已經被移除且 Media Source Extensions 在 42+ 對所有網站已預設為啟用。</p>
-
-<p>[2] 只在 Windows 8+ 上有效。</p>
+{{Compat("api.MediaSource.duration")}}
<h2 id="相關資料">相關資料</h2>
diff --git a/files/zh-tw/web/api/mediasource/mediasource/index.html b/files/zh-tw/web/api/mediasource/mediasource/index.html
index 54e9e6dfef..b3944ac618 100644
--- a/files/zh-tw/web/api/mediasource/mediasource/index.html
+++ b/files/zh-tw/web/api/mediasource/mediasource/index.html
@@ -57,62 +57,7 @@ if ('MediaSource' in window &amp;&amp; MediaSource.isTypeSupported(mimeCodec)) {
<h2 id="相容性表格">相容性表格</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>23</td>
- <td>{{CompatGeckoDesktop("25.0")}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop("42.0")}}</td>
- <td>11<sup>[2]</sup></td>
- <td>15</td>
- <td>8</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>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4.4</td>
- <td>
- <p>{{CompatNo}}</p>
- </td>
- <td>{{CompatNo}}</td>
- <td>11</td>
- <td>30</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在切換 <code>about:config</code> 偏好設定 <code>media.mediasource.enabled</code> 為 <code>true</code> 時可以使用。此外,支援只限於白名單內的網站,如:YouTube, Netflix, 以及其他熱門的串流網站。白名單已經被移除且 Media Source Extensions 在 42+ 對所有網站已預設為啟用。</p>
-
-<p>[2] 只在 Windows 8+ 上有效。</p>
+{{Compat("api.MediaSource.MediaSource")}}
<h2 id="相關資料">相關資料</h2>
diff --git a/files/zh-tw/web/api/mediasource/readystate/index.html b/files/zh-tw/web/api/mediasource/readystate/index.html
index b7e5f1835b..3533be0b6d 100644
--- a/files/zh-tw/web/api/mediasource/readystate/index.html
+++ b/files/zh-tw/web/api/mediasource/readystate/index.html
@@ -67,66 +67,7 @@ translation_of: Web/API/MediaSource/readyState
<h2 id="相容性表格">相容性表格</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>23</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("25.0")}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop("42.0")}}</td>
- <td>11<sup>[2]</sup></td>
- <td>15</td>
- <td>8</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4.4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>
- <p>{{CompatNo}}</p>
- </td>
- <td>{{CompatNo}}</td>
- <td>11</td>
- <td>30</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在切換 <code>about:config</code> preference <code>media.mediasource.enabled</code> 為 <code>true</code> 時可以使用。此外,支援只限於白名單內的網站,如:YouTube, Netflix, 以及其他熱門的串流網站。白名單已經被移除且 Media Source Extensions 在 42+ 對所有網站已預設為啟用。</p>
-
-<p>[2] 只在 Windows 8+ 上有效。</p>
+{{Compat("api.MediaSource.readyState")}}
<h2 id="相關資料">相關資料</h2>