[BUGFIX] Allow Video Text Tracks files
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / flexform_media.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <T3DataStructure>
3 <meta>
4 <langDisable>1</langDisable>
5 </meta>
6 <sheets>
7 <sGeneral>
8 <ROOT>
9 <TCEforms>
10 <sheetTitle>LLL:EXT:cms/locallang_ttc.xml:media.options</sheetTitle>
11 </TCEforms>
12 <type>array</type>
13 <el>
14 <mmType>
15 <TCEforms>
16 <onChange>reload</onChange>
17 <label>LLL:EXT:cms/locallang_ttc.xml:media.type</label>
18 <config>
19 <type>select</type>
20 <items>
21 <numIndex index="0">
22 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.type.video</numIndex>
23 <numIndex index="1">video</numIndex>
24 </numIndex>
25 <numIndex index="1">
26 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.type.audio</numIndex>
27 <numIndex index="1">audio</numIndex>
28 </numIndex>
29 </items>
30 </config>
31 </TCEforms>
32 </mmType>
33 <mmUseHTML5>
34 <TCEforms>
35 <label>LLL:EXT:cms/locallang_ttc.xml:media.useHTML5</label>
36 <displayCond>FIELD:mmType:!=:audio</displayCond>
37 <onChange>reload</onChange>
38 <config>
39 <type>check</type>
40 <default>0</default>
41 </config>
42 </TCEforms>
43 </mmUseHTML5>
44 <mmWidth>
45 <TCEforms>
46 <label>LLL:EXT:cms/locallang_ttc.xml:media.width</label>
47 <config>
48 <type>input</type>
49 <size>8</size>
50 <max>5</max>
51 <eval>trim,num</eval>
52 </config>
53 </TCEforms>
54 </mmWidth>
55 <mmHeight>
56 <TCEforms>
57 <label>LLL:EXT:cms/locallang_ttc.xml:media.height</label>
58 <config>
59 <type>input</type>
60 <size>8</size>
61 <max>5</max>
62 <eval>trim,num</eval>
63 </config>
64 </TCEforms>
65 </mmHeight>
66 <mmRenderType>
67 <TCEforms>
68 <label>LLL:EXT:cms/locallang_ttc.xml:media.renderType</label>
69 <displayCond>FIELD:mmType:!=:audio</displayCond>
70 <config>
71 <type>select</type>
72 <items>
73 <numIndex index="0">
74 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.renderType.auto</numIndex>
75 <numIndex index="1">auto</numIndex>
76 </numIndex>
77 <numIndex index="1">
78 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.renderType.qt</numIndex>
79 <numIndex index="1">qt</numIndex>
80 </numIndex>
81 <numIndex index="2">
82 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.renderType.embed</numIndex>
83 <numIndex index="1">embed</numIndex>
84 </numIndex>
85 </items>
86 <itemsProcFunc>TYPO3\CMS\Frontend\Hooks\MediaItemHooks->customMediaRenderTypes</itemsProcFunc>
87 </config>
88 </TCEforms>
89 </mmRenderType>
90 <mmMediaOptions>
91 <title>LLL:EXT:cms/locallang_ttc.xml:media.additionalOptions</title>
92 <type>array</type>
93 <section>1</section>
94 <el>
95 <mmMediaOptionsContainer>
96 <type>array</type>
97 <title>LLL:EXT:cms/locallang_ttc.xml:media.params</title>
98 <el>
99 <mmParamName>
100 <TCEforms>
101 <label>LLL:EXT:cms/locallang_ttc.xml:media.params.option</label>
102 <config>
103 <type>select</type>
104 <items>
105 <numIndex index="0">
106 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.autoPlay</numIndex>
107 <numIndex index="1">autoPlay</numIndex>
108 </numIndex>
109 <numIndex index="1">
110 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.loop</numIndex>
111 <numIndex index="1">loop</numIndex>
112 </numIndex>
113 <numIndex index="2">
114 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.quality</numIndex>
115 <numIndex index="1">quality</numIndex>
116 </numIndex>
117 <numIndex index="3">
118 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.preview</numIndex>
119 <numIndex index="1">preview</numIndex>
120 </numIndex>
121 <numIndex index="4">
122 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.allowScriptAccess</numIndex>
123 <numIndex index="1">allowScriptAccess</numIndex>
124 </numIndex>
125 <numIndex index="5">
126 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.allowFullScreen</numIndex>
127 <numIndex index="1">allowFullScreen</numIndex>
128 </numIndex>
129 <numIndex index="6">
130 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.preload</numIndex>
131 <numIndex index="1">preload</numIndex>
132 </numIndex>
133 <numIndex index="7">
134 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.controlsBelow</numIndex>
135 <numIndex index="1">controlsBelow</numIndex>
136 </numIndex>
137 <numIndex index="8">
138 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.controlsAtStart</numIndex>
139 <numIndex index="1">controlsAtStart</numIndex>
140 </numIndex>
141 <numIndex index="9">
142 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.controlsHiding</numIndex>
143 <numIndex index="1">controlsHiding</numIndex>
144 </numIndex>
145 <numIndex index="10">
146 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.defaultVolume</numIndex>
147 <numIndex index="1">defaultVolume</numIndex>
148 </numIndex>
149 </items>
150 <itemsProcFunc>TYPO3\CMS\Frontend\Hooks\MediaItemHooks->customMediaParams</itemsProcFunc>
151 </config>
152 </TCEforms>
153 </mmParamName>
154 <mmParamSet>
155 <TCEforms>
156 <label>LLL:EXT:cms/locallang_ttc.xml:media.params.setTo</label>
157 <config>
158 <type>select</type>
159 <items>
160 <numIndex index="0">
161 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.on</numIndex>
162 <numIndex index="1">1</numIndex>
163 </numIndex>
164 <numIndex index="1">
165 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.off</numIndex>
166 <numIndex index="1">0</numIndex>
167 </numIndex>
168 <numIndex index="2">
169 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.valueEntry</numIndex>
170 <numIndex index="1">2</numIndex>
171 </numIndex>
172 </items>
173 </config>
174 </TCEforms>
175 </mmParamSet>
176 <mmParamValue>
177 <TCEforms>
178 <label>LLL:EXT:cms/locallang_ttc.xml:media.params.value</label>
179 <config>
180 <type>input</type>
181 <size>16</size>
182 <default></default>
183 </config>
184 </TCEforms>
185 </mmParamValue>
186 </el>
187 </mmMediaOptionsContainer>
188 <mmMediaCustomParameterContainer>
189 <type>array</type>
190 <title>LLL:EXT:cms/locallang_ttc.xml:media.params.customEntry</title>
191 <el>
192 <mmParamCustomEntry>
193 <TCEforms>
194 <label>LLL:EXT:cms/locallang_ttc.xml:media.params.customEntryLabel</label>
195 <config>
196 <type>text</type>
197 <rows>6</rows>
198 <cols>60</cols>
199 </config>
200 </TCEforms>
201 </mmParamCustomEntry>
202 </el>
203 </mmMediaCustomParameterContainer>
204 </el>
205 </mmMediaOptions>
206 </el>
207 </ROOT>
208 </sGeneral>
209 <sVideo>
210 <ROOT>
211 <TCEforms>
212 <sheetTitle>LLL:EXT:cms/locallang_ttc.xml:media.tabVideo</sheetTitle>
213 <displayCond>FIELD:sGeneral.mmType:!=:audio</displayCond>
214 </TCEforms>
215 <type>array</type>
216 <el>
217 <mmFile>
218 <TCEforms>
219 <label>LLL:EXT:cms/locallang_ttc.xml:media.fallbackUrl</label>
220 <config>
221 <type>input</type>
222 <size>60</size>
223 <eval>trim,required</eval>
224 <default></default>
225 <wizards type="array">
226 <_PADDING>2</_PADDING>
227 <link type="array">
228 <type>popup</type>
229 <title>LLL:EXT:cms/locallang_ttc.xml:media.browseUrlTitle</title>
230 <icon>link_popup.gif</icon>
231 <module type="array">
232 <name>wizard_element_browser</name>
233 <urlParameters type="array">
234 <mode>wizard</mode>
235 <act>file|url</act>
236 </urlParameters>
237 </module>
238 <params type="array">
239 <blindLinkOptions>page,folder,mail,spec</blindLinkOptions>
240 <allowedExtensions>class,swa,dcr,wav,avi,au,mov,asf,mpg,wmv,mp3,mp4,m4v,m4a,flv,ogg,ogv,swf,webm</allowedExtensions>
241 </params>
242 <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
243 </link>
244 </wizards>
245 </config>
246 </TCEforms>
247 </mmFile>
248 </el>
249 </ROOT>
250 </sVideo>
251 <sVideoAccessible>
252 <ROOT>
253 <TCEforms>
254 <sheetTitle>LLL:EXT:cms/locallang_ttc.xml:media.tabVideoAccessible</sheetTitle>
255 <displayCond>FIELD:sGeneral.mmUseHTML5:=:1</displayCond>
256 </TCEforms>
257 <type>array</type>
258 <el>
259 <mmSources>
260 <title>LLL:EXT:cms/locallang_ttc.xml:media.sources</title>
261 <type>array</type>
262 <section>1</section>
263 <el>
264 <mmSourcesContainer>
265 <type>array</type>
266 <title>LLL:EXT:cms/locallang_ttc.xml:media.media.url</title>
267 <el>
268 <mmSource>
269 <TCEforms>
270 <label>LLL:EXT:cms/locallang_ttc.xml:media.url</label>
271 <config>
272 <type>input</type>
273 <size>60</size>
274 <eval>trim,required</eval>
275 <default></default>
276 <wizards type="array">
277 <_PADDING>2</_PADDING>
278 <link type="array">
279 <type>popup</type>
280 <title>LLL:EXT:cms/locallang_ttc.xml:media.browseUrlTitle</title>
281 <icon>link_popup.gif</icon>
282 <module type="array">
283 <name>wizard_element_browser</name>
284 <urlParameters type="array">
285 <mode>wizard</mode>
286 <act>file|url</act>
287 </urlParameters>
288 </module>
289 <params type="array">
290 <blindLinkOptions>page,folder,mail,spec</blindLinkOptions>
291 <allowedExtensions>mov,mpg,mp4,m4a,m4v,ogg,ogv,swf,webm</allowedExtensions>
292 </params>
293 <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
294 </link>
295 </wizards>
296 </config>
297 </TCEforms>
298 </mmSource>
299 </el>
300 </mmSourcesContainer>
301 </el>
302 </mmSources>
303 <mmCaption>
304 <TCEforms>
305 <label>LLL:EXT:cms/locallang_ttc.xml:media.captionUrl</label>
306 <config>
307 <type>input</type>
308 <size>60</size>
309 <eval>trim</eval>
310 <default></default>
311 <wizards type="array">
312 <_PADDING>2</_PADDING>
313 <link type="array">
314 <type>popup</type>
315 <title>LLL:EXT:cms/locallang_ttc.xml:media.browseUrlTitle</title>
316 <icon>link_popup.gif</icon>
317 <module type="array">
318 <name>wizard_element_browser</name>
319 <urlParameters type="array">
320 <mode>wizard</mode>
321 <act>file|url</act>
322 </urlParameters>
323 </module>
324 <params type="array">
325 <blindLinkOptions>page,folder,mail,spec</blindLinkOptions>
326 <allowedExtensions>srt,vtt</allowedExtensions>
327 </params>
328 <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
329 </link>
330 </wizards>
331 </config>
332 </TCEforms>
333 </mmCaption>
334 <mmAudioSources>
335 <title>LLL:EXT:cms/locallang_ttc.xml:media.audioDescription</title>
336 <type>array</type>
337 <section>1</section>
338 <el>
339 <mmAudioSourcesContainer>
340 <type>array</type>
341 <title>LLL:EXT:cms/locallang_ttc.xml:media.media.browseUrl</title>
342 <el>
343 <mmAudioSource>
344 <TCEforms>
345 <label>LLL:EXT:cms/locallang_ttc.xml:media.browseUrl</label>
346 <config>
347 <type>input</type>
348 <size>60</size>
349 <eval>trim,required</eval>
350 <default></default>
351 <wizards type="array">
352 <_PADDING>2</_PADDING>
353 <link type="array">
354 <type>popup</type>
355 <title>LLL:EXT:cms/locallang_ttc.xml:media.browseUrlTitle</title>
356 <icon>link_popup.gif</icon>
357 <module type="array">
358 <name>wizard_element_browser</name>
359 <urlParameters type="array">
360 <mode>wizard</mode>
361 <act>file|url</act>
362 </urlParameters>
363 </module>
364 <params type="array">
365 <blindLinkOptions>page,folder,mail,spec</blindLinkOptions>
366 <allowedExtensions>au,asf,mp3,m4a,oga,ogg, wav,webm,wmv</allowedExtensions>
367 </params>
368 <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
369 </link>
370 </wizards>
371 </config>
372 </TCEforms>
373 </mmAudioSource>
374 </el>
375 </mmAudioSourcesContainer>
376 </el>
377 </mmAudioSources>
378
379 </el>
380 </ROOT>
381 </sVideoAccessible>
382 <sAudio>
383 <ROOT>
384 <TCEforms>
385 <sheetTitle>LLL:EXT:cms/locallang_ttc.xml:media.tabAudio</sheetTitle>
386 <displayCond>FIELD:sGeneral.mmType:=:audio</displayCond>
387 </TCEforms>
388 <type>array</type>
389 <el>
390 <mmAudioFallback>
391 <TCEforms>
392 <label>LLL:EXT:cms/locallang_ttc.xml:media.audioFallbackUrl</label>
393 <config>
394 <type>input</type>
395 <size>60</size>
396 <eval>trim</eval>
397 <default></default>
398 <wizards type="array">
399 <_PADDING>2</_PADDING>
400 <link type="array">
401 <type>popup</type>
402 <title>LLL:EXT:cms/locallang_ttc.xml:media.browseUrlTitle</title>
403 <icon>link_popup.gif</icon>
404 <module type="array">
405 <name>wizard_element_browser</name>
406 <urlParameters type="array">
407 <mode>wizard</mode>
408 <act>file|url</act>
409 </urlParameters>
410 </module>
411 <params type="array">
412 <blindLinkOptions>page,folder,mail,spec</blindLinkOptions>
413 <allowedExtensions>au,asf,mp3,m4a,oga,swa,wav,webm,wmv</allowedExtensions>
414 </params>
415 <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
416 </link>
417 </wizards>
418 </config>
419 </TCEforms>
420 </mmAudioFallback>
421 <mmAudioSources>
422 <title>LLL:EXT:cms/locallang_ttc.xml:media.audioSources</title>
423 <type>array</type>
424 <section>1</section>
425 <el>
426 <mmAudioSourcesContainer>
427 <type>array</type>
428 <title>LLL:EXT:cms/locallang_ttc.xml:media.media.url</title>
429 <el>
430 <mmAudioSource>
431 <TCEforms>
432 <label>LLL:EXT:cms/locallang_ttc.xml:media.url</label>
433 <config>
434 <type>input</type>
435 <size>60</size>
436 <eval>trim,required</eval>
437 <default></default>
438 <wizards type="array">
439 <_PADDING>2</_PADDING>
440 <link type="array">
441 <type>popup</type>
442 <title>LLL:EXT:cms/locallang_ttc.xml:media.browseUrlTitle</title>
443 <icon>link_popup.gif</icon>
444 <module type="array">
445 <name>wizard_element_browser</name>
446 <urlParameters type="array">
447 <mode>wizard</mode>
448 <act>file|url</act>
449 </urlParameters>
450 </module>
451 <params type="array">
452 <blindLinkOptions>page,folder,mail,spec</blindLinkOptions>
453 <allowedExtensions>au,asf,mp3,m4a,oga,ogg, wav,webm,wmv</allowedExtensions>
454 </params>
455 <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
456 </link>
457 </wizards>
458 </config>
459 </TCEforms>
460 </mmAudioSource>
461 </el>
462 </mmAudioSourcesContainer>
463 </el>
464 </mmAudioSources>
465 </el>
466 </ROOT>
467 </sAudio>
468 </sheets>
469 </T3DataStructure>