[BUGFIX] follow up to "Improve usability of new Media element flexform"
[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 <mmWidth>
34 <TCEforms>
35 <label>LLL:EXT:cms/locallang_ttc.xml:media.width</label>
36 <config>
37 <type>input</type>
38 <size>8</size>
39 <max>5</max>
40 <eval>trim,num</eval>
41 </config>
42 </TCEforms>
43 </mmWidth>
44 <mmHeight>
45 <TCEforms>
46 <label>LLL:EXT:cms/locallang_ttc.xml:media.height</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 </mmHeight>
55 <mmRenderType>
56 <TCEforms>
57 <label>LLL:EXT:cms/locallang_ttc.xml:media.renderType</label>
58 <config>
59 <type>select</type>
60 <items>
61 <numIndex index="0">
62 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.renderType.preferHtml5OverFlash</numIndex>
63 <numIndex index="1">auto</numIndex>
64 </numIndex>
65 <numIndex index="1">
66 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.renderType.preferFlashOverHtml5</numIndex>
67 <numIndex index="1">preferFlashOverHtml5</numIndex>
68 </numIndex>
69 <numIndex index="2">
70 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.renderType.qt</numIndex>
71 <numIndex index="1">qt</numIndex>
72 </numIndex>
73 <numIndex index="3">
74 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.renderType.embed</numIndex>
75 <numIndex index="1">embed</numIndex>
76 </numIndex>
77 </items>
78 <itemsProcFunc>tx_cms_mediaItems->customMediaRenderTypes</itemsProcFunc>
79 </config>
80 </TCEforms>
81 </mmRenderType>
82 <mmMediaOptions>
83 <title>LLL:EXT:cms/locallang_ttc.xml:media.additionalOptions</title>
84 <type>array</type>
85 <section>1</section>
86 <el>
87 <mmMediaOptionsContainer>
88 <type>array</type>
89 <title>LLL:EXT:cms/locallang_ttc.xml:media.params</title>
90 <el>
91 <mmParamName>
92 <TCEforms>
93 <label>LLL:EXT:cms/locallang_ttc.xml:media.params.option</label>
94 <config>
95 <type>select</type>
96 <items>
97 <numIndex index="0">
98 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.autoPlay</numIndex>
99 <numIndex index="1">autoPlay</numIndex>
100 </numIndex>
101 <numIndex index="1">
102 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.loop</numIndex>
103 <numIndex index="1">loop</numIndex>
104 </numIndex>
105 <numIndex index="2">
106 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.quality</numIndex>
107 <numIndex index="1">quality</numIndex>
108 </numIndex>
109 <numIndex index="3">
110 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.preview</numIndex>
111 <numIndex index="1">preview</numIndex>
112 </numIndex>
113 <numIndex index="4">
114 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.allowScriptAccess</numIndex>
115 <numIndex index="1">allowScriptAccess</numIndex>
116 </numIndex>
117 <numIndex index="5">
118 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.allowFullScreen</numIndex>
119 <numIndex index="1">allowFullScreen</numIndex>
120 </numIndex>
121 <numIndex index="6">
122 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.preload</numIndex>
123 <numIndex index="1">preload</numIndex>
124 </numIndex>
125 <numIndex index="7">
126 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.controlsBelow</numIndex>
127 <numIndex index="1">controlsBelow</numIndex>
128 </numIndex>
129 <numIndex index="8">
130 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.controlsAtStart</numIndex>
131 <numIndex index="1">controlsAtStart</numIndex>
132 </numIndex>
133 <numIndex index="9">
134 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.controlsHiding</numIndex>
135 <numIndex index="1">controlsHiding</numIndex>
136 </numIndex>
137 <numIndex index="10">
138 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.defaultVolume</numIndex>
139 <numIndex index="1">defaultVolume</numIndex>
140 </numIndex>
141 </items>
142 <itemsProcFunc>tx_cms_mediaItems->customMediaParams</itemsProcFunc>
143 </config>
144 </TCEforms>
145 </mmParamName>
146 <mmParamSet>
147 <TCEforms>
148 <label>LLL:EXT:cms/locallang_ttc.xml:media.params.setTo</label>
149 <config>
150 <type>select</type>
151 <items>
152 <numIndex index="0">
153 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.on</numIndex>
154 <numIndex index="1">1</numIndex>
155 </numIndex>
156 <numIndex index="1">
157 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.off</numIndex>
158 <numIndex index="1">0</numIndex>
159 </numIndex>
160 <numIndex index="2">
161 <numIndex index="0">LLL:EXT:cms/locallang_ttc.xml:media.params.valueEntry</numIndex>
162 <numIndex index="1">2</numIndex>
163 </numIndex>
164 </items>
165 </config>
166 </TCEforms>
167 </mmParamSet>
168 <mmParamValue>
169 <TCEforms>
170 <label>LLL:EXT:cms/locallang_ttc.xml:media.params.value</label>
171 <config>
172 <type>input</type>
173 <size>16</size>
174 <default></default>
175 </config>
176 </TCEforms>
177 </mmParamValue>
178 </el>
179 </mmMediaOptionsContainer>
180 <mmMediaCustomParameterContainer>
181 <type>array</type>
182 <title>LLL:EXT:cms/locallang_ttc.xml:media.params.customEntry</title>
183 <el>
184 <mmParamCustomEntry>
185 <TCEforms>
186 <label>LLL:EXT:cms/locallang_ttc.xml:media.params.customEntryLabel</label>
187 <config>
188 <type>text</type>
189 <rows>6</rows>
190 <cols>60</cols>
191 </config>
192 </TCEforms>
193 </mmParamCustomEntry>
194 </el>
195 </mmMediaCustomParameterContainer>
196 </el>
197 </mmMediaOptions>
198 </el>
199 </ROOT>
200 </sGeneral>
201 <sVideo>
202 <ROOT>
203 <TCEforms>
204 <sheetTitle>LLL:EXT:cms/locallang_ttc.xml:media.tabVideo</sheetTitle>
205 <displayCond>FIELD:sGeneral.mmType:=:video</displayCond>
206 </TCEforms>
207 <type>array</type>
208 <el>
209 <mmFile>
210 <TCEforms>
211 <label>LLL:EXT:cms/locallang_ttc.xml:media.fallbackUrl</label>
212 <config>
213 <type>input</type>
214 <size>60</size>
215 <eval>trim,required</eval>
216 <default></default>
217 <wizards type="array">
218 <_PADDING>2</_PADDING>
219 <link type="array">
220 <type>popup</type>
221 <title>LLL:EXT:cms/locallang_ttc.xml:media.browseUrlTitle</title>
222 <icon>link_popup.gif</icon>
223 <script>browse_links.php?mode=wizard&amp;act=file|url</script>
224 <params type="array">
225 <blindLinkOptions>page,folder,mail,spec</blindLinkOptions>
226 <allowedExtensions>class,swa,dcr,wav,avi,au,mov,asf,mpg,wmv,mp3,mp4,m4v,m4a,flv,ogg,ogv,swf,webm</allowedExtensions>
227 </params>
228 <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
229 </link>
230 </wizards>
231 </config>
232 </TCEforms>
233 </mmFile>
234 <mmSources>
235 <title>LLL:EXT:cms/locallang_ttc.xml:media.sources</title>
236 <type>array</type>
237 <section>1</section>
238 <el>
239 <mmSourcesContainer>
240 <type>array</type>
241 <title>LLL:EXT:cms/locallang_ttc.xml:media.media.url</title>
242 <el>
243 <mmSource>
244 <TCEforms>
245 <label>LLL:EXT:cms/locallang_ttc.xml:media.url</label>
246 <config>
247 <type>input</type>
248 <size>60</size>
249 <eval>trim,required</eval>
250 <default></default>
251 <wizards type="array">
252 <_PADDING>2</_PADDING>
253 <link type="array">
254 <type>popup</type>
255 <title>LLL:EXT:cms/locallang_ttc.xml:media.browseUrlTitle</title>
256 <icon>link_popup.gif</icon>
257 <script>browse_links.php?mode=wizard&amp;act=file|url</script>
258 <params type="array">
259 <blindLinkOptions>page,folder,mail,spec</blindLinkOptions>
260 <allowedExtensions>asf,avi,class,dcr,flv,mov,mpg,mp4,m4a,m4v,ogg,ogv,swf,webm</allowedExtensions>
261 </params>
262 <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
263 </link>
264 </wizards>
265 </config>
266 </TCEforms>
267 </mmSource>
268 </el>
269 </mmSourcesContainer>
270 </el>
271 </mmSources>
272 <mmCaption>
273 <TCEforms>
274 <label>LLL:EXT:cms/locallang_ttc.xml:media.captionUrl</label>
275 <config>
276 <type>input</type>
277 <size>60</size>
278 <eval>trim</eval>
279 <default></default>
280 <wizards type="array">
281 <_PADDING>2</_PADDING>
282 <link type="array">
283 <type>popup</type>
284 <title>LLL:EXT:cms/locallang_ttc.xml:media.browseUrlTitle</title>
285 <icon>link_popup.gif</icon>
286 <script>browse_links.php?mode=wizard&amp;act=file|url</script>
287 <params type="array">
288 <blindLinkOptions>page,folder,mail,spec</blindLinkOptions>
289 <allowedExtensions>srt</allowedExtensions>
290 </params>
291 <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
292 </link>
293 </wizards>
294 </config>
295 </TCEforms>
296 </mmCaption>
297
298 </el>
299 </ROOT>
300 </sVideo>
301 <sAudio>
302 <ROOT>
303 <TCEforms>
304 <sheetTitle>LLL:EXT:cms/locallang_ttc.xml:media.tabAudio</sheetTitle>
305 <displayCond>FIELD:sGeneral.mmType:=:audio</displayCond>
306 </TCEforms>
307 <type>array</type>
308 <el>
309 <mmAudioSources>
310 <title>LLL:EXT:cms/locallang_ttc.xml:media.audioSources</title>
311 <type>array</type>
312 <section>1</section>
313 <el>
314 <mmAudioSourcesContainer>
315 <type>array</type>
316 <title>LLL:EXT:cms/locallang_ttc.xml:media.media.url</title>
317 <el>
318 <mmAudioSource>
319 <TCEforms>
320 <label>LLL:EXT:cms/locallang_ttc.xml:media.url</label>
321 <config>
322 <type>input</type>
323 <size>60</size>
324 <eval>trim,required</eval>
325 <default></default>
326 <wizards type="array">
327 <_PADDING>2</_PADDING>
328 <link type="array">
329 <type>popup</type>
330 <title>LLL:EXT:cms/locallang_ttc.xml:media.browseUrlTitle</title>
331 <icon>link_popup.gif</icon>
332 <script>browse_links.php?mode=wizard&amp;act=file|url</script>
333 <params type="array">
334 <blindLinkOptions>page,folder,mail,spec</blindLinkOptions>
335 <allowedExtensions>au,asf,mp3,m4a,oga,ogg, wav,webm,wmv</allowedExtensions>
336 </params>
337 <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
338 </link>
339 </wizards>
340 </config>
341 </TCEforms>
342 </mmAudioSource>
343 </el>
344 </mmAudioSourcesContainer>
345 </el>
346 </mmAudioSources>
347 <mmAudioFallback>
348 <TCEforms>
349 <label>LLL:EXT:cms/locallang_ttc.xml:media.audioFallbackUrl</label>
350 <config>
351 <type>input</type>
352 <size>60</size>
353 <eval>trim</eval>
354 <default></default>
355 <wizards type="array">
356 <_PADDING>2</_PADDING>
357 <link type="array">
358 <type>popup</type>
359 <title>LLL:EXT:cms/locallang_ttc.xml:media.browseUrlTitle</title>
360 <icon>link_popup.gif</icon>
361 <script>browse_links.php?mode=wizard&amp;act=file|url</script>
362 <params type="array">
363 <blindLinkOptions>page,folder,mail,spec</blindLinkOptions>
364 <allowedExtensions>au,asf,mp3,m4a,oga,swa,wav,webm,wmv</allowedExtensions>
365 </params>
366 <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
367 </link>
368 </wizards>
369 </config>
370 </TCEforms>
371 </mmAudioFallback>
372
373 </el>
374 </ROOT>
375 </sAudio>
376 </sheets>
377 </T3DataStructure>