/
300.txt
268 lines (199 loc) · 13.1 KB
/
300.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
[49] [DFN[[RUBYB[媒体要素]@en[media element]]]]は、
[CODE(HTMLe)@en[[[video]]]] [[要素]]と
[CODE(HTMLe)@en[[[audio]]]] [[要素]]です。
どちらも [DFN[[CODE(DOMi)@en[[[HTMLMediaElement]]]]]]
[[インターフェイス]]を[[実装]]しています。
;; [50] [CODE(HTMLe)@en[[[img]]]] [[要素]]は、[[媒体要素]]ではありません。
;; [51] [CODE(HTMLe)@en[[[source]]]] [[要素]]と [CODE(HTMLe)@en[[[track]]]]
[[要素]]は[[媒体要素]]と併用されますが、それ自体は[[媒体要素]]ではありません。
* 仕様書
[REFS[
- [59] [CITE@en-GB-x-hixie[HTML Standard]] ([TIME[2016-03-23 21:27:20 +09:00]] 版) <https://html.spec.whatwg.org/#origin-2>
]REFS]
* 属性
[FIG(short list)[
-[CODE(HTMLa)@en[[[msplaytopreferredsourceuri]]]]
-[CODE(HTMLa)@en[[[msplaytoprimary]]]]
]FIG]
* メンバー
[FIG(short list)[
-[CODE(DOMa)@en[[[msAudioCategory]]]]
-[CODE(DOMa)@en[[[msAudioDeviceType]]]]
-[CODE(DOMa)@en[[[msGraphicsTrustStatus]]]]
-[CODE(DOMa)@en[[[msKeys]]]]
-[CODE(DOMa)@en[[[msPlayToDisabled]]]]
-[CODE(DOMa)@en[[[msPlayToPreferredSourceUri]]]]
-[CODE(DOMa)@en[[[msPlayToPrimary]]]]
-[CODE(DOMa)@en[[[msPlayToSource]]]]
-[CODE(DOMa)@en[[[msRealTime]]]]
- [CODE(DOMa)@en[[[webkitCurrentPlaybackTargetIsWireless]]]]
]FIG]
* 媒体の起源
[60] [[媒体要素]][VAR[要素]]の[F[起源]]は、次の通り定義されます [SRC[>>59]]。
[FIG(switch)[
: [VAR[要素]]の[F[媒体データ]]が[F[CORS-cross-origin]]の場合 :
[VAR[要素]]の[F[媒体データ]]が[[fetch]]された時に作成された新しい[[不透明起源]]。
: [VAR[要素]]の[F[媒体データ]]が[F[CORS-same-origin]]の場合 :
[VAR[要素]]の[F[節点文書]]の[F[起源][文書の起源]]。
]FIG]
* 歴史
[1] [CITE[Re: Video : Slow motion, fast forward effects]] ([[Ian Hickson <ian@...>]] 著, [TIME[2008-10-13 22:41:19 +09:00]] 版) <http://permalink.gmane.org/gmane.org.w3c.whatwg.discuss/15893>
[2] [CITE[Re: Video : Slow motion, fast forward effects]] ([[Ian Hickson <ian@...>]] 著, [TIME[2008-10-15 09:08:21 +09:00]] 版) <http://permalink.gmane.org/gmane.org.w3c.whatwg.discuss/15935>
[3] [CITE@en-us[Firefox 3.1 for developers - MDC]] ([TIME[2009-02-08 18:25:06 +09:00]] 版) <https://developer.mozilla.org/ja/Firefox_3.1_for_developers#HTML_.e3.81.ae.e5.a4.89.e6.9b.b4.e7.82.b9>
>video と audio 要素。
[4] [CITE[Don’t call me DOM » The beauty of HTMLMediaElement]] ([TIME[2009-03-09 21:25:46 +09:00]] 版) <http://people.w3.org/~dom/archives/2009/02/the-beauty-of-htmlmediaelement/>
[5] [CITE@en[(X)HTML5 Tracking]] ([TIME[2009-06-30 22:31:26 +09:00]] 版) <http://html5.org/tools/web-apps-tracker?from=3341&to=3342>
[6] [CITE[IRC logs: freenode / #whatwg / 20090612]]
([TIME[2009-09-01 00:21:52 +09:00]] 版)
<http://krijnhoetmer.nl/irc-logs/whatwg/20090612#l-629>
[7] [CITE@en[HTML5 Revision Tracker]]
([TIME[2010-05-04 14:33:45 +09:00]] 版)
<http://html5.org/tools/web-apps-tracker?from=5069&to=5070>
[8] [CITE['''['''whatwg''']''' HTML5 video <source> dimensions and bitrate]]
([TIME[2010-08-14 12:15:22 +09:00]] 版)
<http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/027933.html>
[9] [CITE['''['''whatwg''']''' Timestamp from video source in order to sync (e.g. expose OGG timestamp to javascript)]]
([TIME[2010-08-18 10:45:05 +09:00]] 版)
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-August/028004.html>
[10] [CITE@@en[Web Applications 1.0 r5310 Define the Media Timeline for <video> -- the timeline along which currentTime, duration, etc, are defined.]]
( ([TIME[2010-08-18 10:13:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=5309&to=5310>
[11] [CITE['''['''whatwg''']''' A standard for adaptive HTTP streaming for media resources]]
([TIME[2010-08-20 10:10:08 +09:00]] 版)
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-August/028023.html>
[12] [CITE[''''''[''''''whatwg'''''']'''''' Volume and Mute feedback on <video>]]
( ([TIME[2010-08-21 14:19:08 +09:00]] 版))
<http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/028027.html>
[13] [CITE[''''''[''''''whatwg'''''']'''''' Fullscreen feedback]]
( ([TIME[2010-12-10 00:29:10 +09:00]] 版))
<http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-December/029395.html>
[14] [CITE[IRC logs: freenode / #whatwg / 20110331]]
( ([TIME[2011-04-11 21:08:55 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20110331>
[15] [CITE['''['''whatwg''']''' How to handle multitrack media resources in HTML]]
([TIME[2011-04-21 09:31:33 +09:00]] 版)
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-April/031305.html>
[16] [CITE[''''''[''''''whatwg'''''']'''''' Video feedback]]
( ([TIME[2011-06-04 11:48:56 +09:00]] 版))
<http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-June/031916.html>
[17] [CITE[MPTF/Netflix Content Protection - Web and TV IG]]
( ([TIME[2011-12-16 07:13:39 +09:00]] 版))
<http://www.w3.org/2011/webtv/wiki/MPTF/Netflix_Content_Protection>
[18] [CITE[Encrypted Media Extensions]]
( ([TIME[2012-03-01 22:01:41 +09:00]] 版))
<http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html>
[19] [CITE@en[Web Applications 1.0 r7045 Rename startOffsetTime to startDate and try to clarify its examples.]]
( ([TIME[2012-04-03 09:23:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=7044&to=7045>
[20] [CITE@en[Web Applications 1.0 r7046 Remove media.initialTime since it doesn't have convincing use cases.]]
( ([TIME[2012-04-04 01:45:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=7045&to=7046>
[21] [CITE[''''''[''''''webkit-dev'''''']'''''' Adding Encrypted Media Extensions]]
( ([TIME[2012-04-05 03:20:18 +09:00]] 版))
<https://lists.webkit.org/pipermail/webkit-dev/2012-April/020174.html>
[22] [CITE@en[RE: CfC: Create Media Task Force]]
( ([[Paul Cotton]] 著, [TIME[2012-04-06 04:08:53 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-html/2012Apr/0033.html>
[23] [CITE@en[Re: Encrypted Media proposal (was RE: ISSUE-179: av_param - Chairs Solicit Alternate Proposals or Counter-Proposals)]]
( ([[Ian Hickson]] 著, [TIME[2012-02-22 08:46:46 +09:00]] 版))
<http://lists.w3.org/Archives/Public/public-html/2012Feb/0274.html>
[24] [CITE[''''''[''''''whatwg'''''']'''''' Exposing framerate / statistics of <video> playback and related feedback]]
( ([TIME[2012-05-01 08:47:49 +09:00]] 版))
<http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-April/035598.html>
[25] [CITE[''''''[''''''whatwg'''''']'''''' I have feature requests for <video> and <audio> tags.]]
( ([TIME[2012-06-05 22:02:15 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2012-June/036274.html>
[26] [CITE[''''''[''''''whatwg'''''']'''''' video element not ready for prime time]]
( ([TIME[2012-06-05 22:56:04 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2012-June/036276.html>
[27] [CITE[''''''[''''''whatwg'''''']'''''' <source>s in <video> by quality as well as codec]]
( ([TIME[2012-06-05 22:56:04 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2012-June/036279.html>
[28] [CITE[''''''[''''''whatwg'''''']'''''' <video> feedback]]
( ([TIME[2012-09-18 05:07:34 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2012-September/037306.html>
[29] [CITE[''''''[''''''whatwg'''''']'''''' HTML5 video seeking]]
( ([TIME[2012-11-24 08:04:14 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2012-November/038077.html>
[30] [CITE@en[Media Source Extensions]]
( ([TIME[2013-04-13 07:00:24 +09:00]] 版))
<http://www.w3.org/TR/2013/WD-media-source-20130415/>
[31] [CITE[''''''[''''''whatwg'''''']'''''' Proposal: Media element - add attributes for discovery of playback rate support]]
( ([TIME[2013-07-20 09:35:53 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-July/040167.html>
[32] [CITE[MPTF - Web and TV IG]]
( ([TIME[2013-06-13 21:01:58 +09:00]] 版))
<http://www.w3.org/2011/webtv/wiki/MPTF>
[33] [CITE@en[MPTF Requirements for Adaptive Bit Rate Streaming]]
( ([TIME[2013-08-01 09:07:31 +09:00]] 版))
<https://dvcs.w3.org/hg/webtv/raw-file/tip/mpreq/adbreq.html>
[34] [CITE@en[Bug 23493 – <video>: preciseSeek()]]
( ([TIME[2013-10-14 22:55:50 +09:00]] 版))
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=23493>
[35] [CITE@en[Bug 8278 – <video>: video.currentTime variant that returns a frame number]]
( ([TIME[2013-10-14 22:56:44 +09:00]] 版))
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=8278>
[36] [CITE@en[Bug 22678 – <video>: expose the frame rate and specific frames of the media resource]]
( ([TIME[2013-10-14 22:56:59 +09:00]] 版))
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=22678>
[37] [CITE@en[Web Applications 1.0 r8315 Make <video> have an activation behaviour]]
( ([TIME[2013-11-27 07:46:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=8314&to=8315>
[38] [CITE[''''''[''''''whatwg'''''']'''''' Should <video controls> generate click events?]]
( ([TIME[2013-11-27 00:49:08 +09:00]] 版))
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-November/041662.html>
[39] [CITE@en[Web Applications 1.0 r8716 Define <video>.srcObject]]
( ([TIME[2014-08-27 03:59:00 +09:00]] 版))
<http://html5.org/r/8716>
[40] [CITE@en[Web Applications 1.0 r8754 Try to define what happens when you have tracks that don't cover the whole media timeline]]
( ([TIME[2014-09-09 06:47:00 +09:00]] 版))
<http://html5.org/r/8754>
[41] [CITE@en-US[Media formats supported by the HTML audio and video elements - HTML (HyperText Markup Language) | MDN]]
([TIME[2015-01-15 06:35:38 +09:00]] 版)
<https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats>
[42] [CITE@ja[media element | media object (Internet Explorer)]] ([TIME[2015-05-07 17:21:49 +09:00]] 版) <https://msdn.microsoft.com/ja-jp/library/ff975069(v=vs.85).aspx>
[43] [CITE['''['''whatwg''']''' '''['''media''']''' startOffsetTime, also add startTime?]]
([TIME[2012-04-03 09:25:44 +09:00]] 版)
<http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2012-April/035303.html>
[44] [CITE@en[Change the definition of media elements to an explicit HTMLMediaEleme… · whatwg/html@bcb1ee5]]
([TIME[2015-09-18 17:37:53 +09:00]] 版)
<https://github.com/whatwg/html/commit/bcb1ee552e2b457f7b96665fa8539e3dbaa58a2a>
[45] [CITE@en[Do nothing when removing media elements from a document · whatwg/mediasession@ba509e4]]
([TIME[2015-09-19 13:09:46 +09:00]] 版)
<https://github.com/whatwg/mediasession/commit/ba509e4c450ce86052975671c67f8bc341b1c82c>
[46] [CITE@ja[HTML5 の audio 要素と video 要素でサポートされているメディアフォーマット - HTML | MDN]]
([TIME[2015-07-06 18:00:42 +09:00]] 版)
<https://developer.mozilla.org/ja/docs/Web/HTML/Supported_media_formats>
[47] [CITE@en[To avoid confusion with the stalled event, use suspend rather than stall · whatwg/html@95bf1ec]]
([TIME[2015-09-03 20:43:12 +09:00]] 版)
<https://github.com/whatwg/html/commit/95bf1ecfd0db57db9d64ad5c57d3a741b2a69246>
[48] [CITE@en[Integrate Fetch into HTML · whatwg/html@7c5555a]]
([TIME[2015-09-18 19:12:39 +09:00]] 版)
<https://github.com/whatwg/html/commit/7c5555a16f2920c02244c10756bb2f1a11e87a22>
[52] [CITE@en[Drop exception comment in the defintion of HAVE_METADATA · whatwg/html@4080cef]]
([TIME[2015-10-27 12:48:48 +09:00]] 版)
<https://github.com/whatwg/html/commit/4080cef60e16ea9e4af10d28130b2040ec9fcc30>
[53] [CITE@en[Fix #316: flip around the mode check in the resource fetch algorithm · whatwg/html@2cdce89]]
([TIME[2015-11-26 13:45:33 +09:00]] 版)
<https://github.com/whatwg/html/commit/2cdce89525618c4648be412e85e0ed0f8a7226d0>
[54] [CITE@en[28125 – Pausing a playing media element requires the final paused position to be known synchronously]]
([TIME[2016-02-02 14:26:24 +09:00]] 版)
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=28125>
[55] [CITE@en[Mention track selection in sans-controls media element UI · whatwg/html@782f2d7]]
([TIME[2016-02-05 14:43:29 +09:00]] 版)
<https://github.com/whatwg/html/commit/782f2d72e033bde08c58d67b4dedb661c9f29f24>
[56] [CITE@en[URLs are parsed and produce records · whatwg/html@30bc255]]
([TIME[2016-02-14 23:00:51 +09:00]] 版)
<https://github.com/whatwg/html/commit/30bc2557105ad62881ec9670f253febbc9761b44>
[57] [CITE@en[Integrate with MSE's "Detaching from a media element" · whatwg/html@cf9e802]]
([TIME[2016-03-16 14:17:17 +09:00]] 版)
<https://github.com/whatwg/html/commit/cf9e80296bb5911c85653e36254a270e0e1701a1>
[58] [CITE@en[Give more media controls examples · whatwg/html@df16ff3]]
([TIME[2016-03-23 18:34:49 +09:00]] 版)
<https://github.com/whatwg/html/commit/df16ff393210dde1abf7c22fd7660f0ec70c357e>
[61] [CITE@en[Remove the origin aliasing concept · whatwg/html@438155d]]
([TIME[2016-03-24 00:10:30 +09:00]] 版)
<https://github.com/whatwg/html/commit/438155d2a2255aa5ea84ae390744d8a8662ebec2>
[62] [CITE@en[Merge effective script origin into origin · whatwg/html@8a843f2]]
([TIME[2016-03-31 16:54:19 +09:00]] 版)
<https://github.com/whatwg/html/commit/8a843f2169a6864a3024c4329528dccb2051d275>