comparison static/js/tiny_mce/plugins/media/media.htm @ 442:6c182ceb7147

Fixing #217; upgrade TinyMCE to 3.4.2 and enable the paste plugin.
author Brian Neal <bgneal@gmail.com>
date Thu, 26 May 2011 00:43:49 +0000
parents 88b2b9cb8c1f
children
comparison
equal deleted inserted replaced
441:33d0c55e57a9 442:6c182ceb7147
8 <script type="text/javascript" src="../../utils/validate.js"></script> 8 <script type="text/javascript" src="../../utils/validate.js"></script>
9 <script type="text/javascript" src="../../utils/form_utils.js"></script> 9 <script type="text/javascript" src="../../utils/form_utils.js"></script>
10 <script type="text/javascript" src="../../utils/editable_selects.js"></script> 10 <script type="text/javascript" src="../../utils/editable_selects.js"></script>
11 <link href="css/media.css" rel="stylesheet" type="text/css" /> 11 <link href="css/media.css" rel="stylesheet" type="text/css" />
12 </head> 12 </head>
13 <body style="display: none"> 13 <body style="display: none" role="application">
14 <form onsubmit="insertMedia();return false;" action="#"> 14 <form onsubmit="Media.insert();return false;" action="#">
15 <div class="tabs"> 15 <div class="tabs" role="presentation">
16 <ul> 16 <ul>
17 <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');generatePreview();" onmousedown="return false;">{#media_dlg.general}</a></span></li> 17 <li id="general_tab" class="current" aria-controls="general_panel"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');Media.formToData();" onmousedown="return false;">{#media_dlg.general}</a></span></li>
18 <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#media_dlg.advanced}</a></span></li> 18 <li id="advanced_tab" aria-controls="advanced_panel"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');Media.formToData();" onmousedown="return false;">{#media_dlg.advanced}</a></span></li>
19 <li id="source_tab" aria-controls="source_panel"><span><a href="javascript:mcTabs.displayTab('source_tab','source_panel');Media.formToData('source');" onmousedown="return false;">{#media_dlg.source}</a></span></li>
19 </ul> 20 </ul>
20 </div> 21 </div>
21 22
22 <div class="panel_wrapper"> 23 <div class="panel_wrapper">
23 <div id="general_panel" class="panel current"> 24 <div id="general_panel" class="panel current">
24 <fieldset> 25 <fieldset>
25 <legend>{#media_dlg.general}</legend> 26 <legend>{#media_dlg.general}</legend>
26 27
27 <table border="0" cellpadding="4" cellspacing="0"> 28 <table role="presentation" border="0" cellpadding="4" cellspacing="0">
28 <tr> 29 <tr>
29 <td><label for="media_type">{#media_dlg.type}</label></td> 30 <td><label for="media_type">{#media_dlg.type}</label></td>
30 <td> 31 <td>
31 <select id="media_type" name="media_type" onchange="changedType(this.value);generatePreview();"> 32 <select id="media_type" name="media_type" onchange="Media.formToData('type');">
33 <option value="video">HTML5 Video</option>
32 <option value="flash">Flash</option> 34 <option value="flash">Flash</option>
33 <!-- <option value="flv">Flash video (FLV)</option> --> 35 <option value="quicktime">QuickTime</option>
34 <option value="qt">Quicktime</option>
35 <option value="shockwave">Shockwave</option> 36 <option value="shockwave">Shockwave</option>
36 <option value="wmp">Windows Media</option> 37 <option value="windowsmedia">Windows Media</option>
37 <option value="rmp">Real Media</option> 38 <option value="realmedia">Real Media</option>
39 <option value="iframe">Iframe</option>
38 </select> 40 </select>
39 </td> 41 </td>
40 </tr> 42 </tr>
41 <tr> 43 <tr>
42 <td><label for="src">{#media_dlg.file}</label></td> 44 <td><label for="src">{#media_dlg.file}</label></td>
43 <td> 45 <td>
44 <table border="0" cellspacing="0" cellpadding="0"> 46 <table role="presentation" border="0" cellspacing="0" cellpadding="0">
45 <tr> 47 <tr>
46 <td><input id="src" name="src" type="text" value="" class="mceFocus" onchange="switchType(this.value);generatePreview();" /></td> 48 <td><input id="src" name="src" type="text" value="" class="mceFocus" onchange="Media.formToData();" /></td>
47 <td id="filebrowsercontainer">&nbsp;</td> 49 <td id="filebrowsercontainer">&nbsp;</td>
48 </tr> 50 </tr>
49 </table> 51 </table>
50 </td> 52 </td>
51 </tr> 53 </tr>
52 <tr id="linklistrow"> 54 <tr id="linklistrow">
53 <td><label for="linklist">{#media_dlg.list}</label></td> 55 <td><label for="linklist">{#media_dlg.list}</label></td>
54 <td id="linklistcontainer"><select id="linklist"><option value=""></option></select></td> 56 <td id="linklistcontainer"><select id="linklist"><option value=""></option></select></td>
55 </tr> 57 </tr>
56 <tr> 58 <tr>
57 <td><label for="width">{#media_dlg.size}</label></td> 59 <td><label for="width">{#media_dlg.size}</label></td>
58 <td> 60 <td>
59 <table border="0" cellpadding="0" cellspacing="0"> 61 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
60 <tr> 62 <tr>
61 <td><input type="text" id="width" name="width" value="" class="size" onchange="generatePreview('width');" /> x <input type="text" id="height" name="height" value="" class="size" onchange="generatePreview('height');" /></td> 63 <td><input type="text" id="width" name="width" value="" class="size" onchange="Media.formToData('width');" onfocus="Media.beforeResize();" /> x <input type="text" id="height" name="height" value="" class="size" onfocus="Media.beforeResize();" onchange="Media.formToData('height');" /></td>
62 <td>&nbsp;&nbsp;<input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td> 64 <td>&nbsp;&nbsp;<input id="constrain" type="checkbox" name="constrain" class="checkbox" checked="checked" /></td>
63 <td><label id="constrainlabel" for="constrain">{#media_dlg.constrain_proportions}</label></td> 65 <td><label id="constrainlabel" for="constrain">{#media_dlg.constrain_proportions}</label></td>
64 </tr> 66 </tr>
65 </table> 67 </table>
66 </td> 68 </td>
67 </tr> 69 </tr>
76 78
77 <div id="advanced_panel" class="panel"> 79 <div id="advanced_panel" class="panel">
78 <fieldset> 80 <fieldset>
79 <legend>{#media_dlg.advanced}</legend> 81 <legend>{#media_dlg.advanced}</legend>
80 82
81 <table border="0" cellpadding="4" cellspacing="0" width="100%"> 83 <table role="presentation" border="0" cellpadding="4" cellspacing="0" width="100%">
82 <tr> 84 <tr>
83 <td><label for="id">{#media_dlg.id}</label></td> 85 <td><label for="id">{#media_dlg.id}</label></td>
84 <td><input type="text" id="id" name="id" onchange="generatePreview();" /></td> 86 <td><input type="text" id="id" name="id" onchange="Media.formToData();" /></td>
85 <td><label for="name">{#media_dlg.name}</label></td> 87 <td><label for="name">{#media_dlg.name}</label></td>
86 <td><input type="text" id="name" name="name" onchange="generatePreview();" /></td> 88 <td><input type="text" id="name" name="name" onchange="Media.formToData();" /></td>
87 </tr> 89 </tr>
88 90
89 <tr> 91 <tr>
90 <td><label for="align">{#media_dlg.align}</label></td> 92 <td><label for="align">{#media_dlg.align}</label></td>
91 <td> 93 <td>
92 <select id="align" name="align" onchange="generatePreview();"> 94 <select id="align" name="align" onchange="Media.formToData();">
93 <option value="">{#not_set}</option> 95 <option value="">{#not_set}</option>
94 <option value="top">{#media_dlg.align_top}</option> 96 <option value="top">{#media_dlg.align_top}</option>
95 <option value="right">{#media_dlg.align_right}</option> 97 <option value="right">{#media_dlg.align_right}</option>
96 <option value="bottom">{#media_dlg.align_bottom}</option> 98 <option value="bottom">{#media_dlg.align_bottom}</option>
97 <option value="left">{#media_dlg.align_left}</option> 99 <option value="left">{#media_dlg.align_left}</option>
98 </select> 100 </select>
99 </td> 101 </td>
100 102
101 <td><label for="bgcolor">{#media_dlg.bgcolor}</label></td> 103 <td><label for="bgcolor">{#media_dlg.bgcolor}</label></td>
102 <td> 104 <td>
103 <table border="0" cellpadding="0" cellspacing="0"> 105 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
104 <tr> 106 <tr>
105 <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');generatePreview();" /></td> 107 <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');Media.formToData();" /></td>
106 <td id="bgcolor_pickcontainer">&nbsp;</td> 108 <td id="bgcolor_pickcontainer">&nbsp;</td>
107 </tr> 109 </tr>
108 </table> 110 </table>
109 </td> 111 </td>
110 </tr> 112 </tr>
111 113
112 <tr> 114 <tr>
113 <td><label for="vspace">{#media_dlg.vspace}</label></td> 115 <td><label for="vspace">{#media_dlg.vspace}</label></td>
114 <td><input type="text" id="vspace" name="vspace" class="number" onchange="generatePreview();" /></td> 116 <td><input type="text" id="vspace" name="vspace" class="number" onchange="Media.formToData();" /></td>
115 <td><label for="hspace">{#media_dlg.hspace}</label></td> 117 <td><label for="hspace">{#media_dlg.hspace}</label></td>
116 <td><input type="text" id="hspace" name="hspace" class="number" onchange="generatePreview();" /></td> 118 <td><input type="text" id="hspace" name="hspace" class="number" onchange="Media.formToData();" /></td>
119 </tr>
120 </table>
121 </fieldset>
122
123 <fieldset id="video_options">
124 <legend>{#media_dlg.html5_video_options}</legend>
125
126 <table role="presentation">
127 <tr>
128 <td><label for="video_altsource1">{#media_dlg.altsource1}</label></td>
129 <td>
130 <table role="presentation" border="0" cellspacing="0" cellpadding="0">
131 <tr>
132 <td><input type="text" id="video_altsource1" name="video_altsource1" onchange="Media.formToData();" style="width: 240px" /></td>
133 <td id="video_altsource1_filebrowser">&nbsp;</td>
134 </tr>
135 </table>
136 </td>
137 </tr>
138
139 <tr>
140 <td><label for="video_altsource2">{#media_dlg.altsource2}</label></td>
141 <td>
142 <table role="presentation" border="0" cellspacing="0" cellpadding="0">
143 <tr>
144 <td><input type="text" id="video_altsource2" name="video_altsource2" onchange="Media.formToData();" style="width: 240px" /></td>
145 <td id="video_altsource2_filebrowser">&nbsp;</td>
146 </tr>
147 </table>
148 </td>
149 </tr>
150
151 <tr>
152 <td><label for="video_poster">{#media_dlg.poster}</label></td>
153 <td>
154 <table role="presentation" border="0" cellspacing="0" cellpadding="0">
155 <tr>
156 <td><input type="text" id="video_poster" name="video_poster" onchange="Media.formToData();" style="width: 240px" /></td>
157 <td id="video_poster_filebrowser">&nbsp;</td>
158 </tr>
159 </table>
160 </td>
161 </tr>
162 </table>
163
164 <table role="presentation" border="0" cellpadding="4" cellspacing="0">
165 <tr>
166 <td>
167 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
168 <tr>
169 <td><input type="checkbox" class="checkbox" id="video_autoplay" name="video_autoplay" onchange="Media.formToData();" /></td>
170 <td><label for="video_autoplay">{#media_dlg.play}</label></td>
171 </tr>
172 </table>
173 </td>
174
175 <td>
176 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
177 <tr>
178 <td><input type="checkbox" class="checkbox" id="video_loop" name="video_loop" onchange="Media.formToData();" /></td>
179 <td><label for="video_loop">{#media_dlg.loop}</label></td>
180 </tr>
181 </table>
182 </td>
183
184 <td>
185 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
186 <tr>
187 <td><input type="checkbox" class="checkbox" id="video_preload" name="video_preload" onchange="Media.formToData();" /></td>
188 <td><label for="video_preload">{#media_dlg.preload}</label></td>
189 </tr>
190 </table>
191 </td>
192
193 <td>
194 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
195 <tr>
196 <td><input type="checkbox" class="checkbox" id="video_controls" name="video_controls" onchange="Media.formToData();" /></td>
197 <td><label for="video_controls">{#media_dlg.controls}</label></td>
198 </tr>
199 </table>
200 </td>
117 </tr> 201 </tr>
118 </table> 202 </table>
119 </fieldset> 203 </fieldset>
120 204
121 <fieldset id="flash_options"> 205 <fieldset id="flash_options">
122 <legend>{#media_dlg.flash_options}</legend> 206 <legend>{#media_dlg.flash_options}</legend>
123 207
124 <table border="0" cellpadding="4" cellspacing="0"> 208 <table role="presentation" border="0" cellpadding="4" cellspacing="0">
125 <tr> 209 <tr>
126 <td><label for="flash_quality">{#media_dlg.quality}</label></td> 210 <td><label for="flash_quality">{#media_dlg.quality}</label></td>
127 <td> 211 <td>
128 <select id="flash_quality" name="flash_quality" onchange="generatePreview();"> 212 <select id="flash_quality" name="flash_quality" onchange="Media.formToData();">
129 <option value="">{#not_set}</option> 213 <option value="">{#not_set}</option>
130 <option value="high">high</option> 214 <option value="high">high</option>
131 <option value="low">low</option> 215 <option value="low">low</option>
132 <option value="autolow">autolow</option> 216 <option value="autolow">autolow</option>
133 <option value="autohigh">autohigh</option> 217 <option value="autohigh">autohigh</option>
135 </select> 219 </select>
136 </td> 220 </td>
137 221
138 <td><label for="flash_scale">{#media_dlg.scale}</label></td> 222 <td><label for="flash_scale">{#media_dlg.scale}</label></td>
139 <td> 223 <td>
140 <select id="flash_scale" name="flash_scale" onchange="generatePreview();"> 224 <select id="flash_scale" name="flash_scale" onchange="Media.formToData();">
141 <option value="">{#not_set}</option> 225 <option value="">{#not_set}</option>
142 <option value="showall">showall</option> 226 <option value="showall">showall</option>
143 <option value="noborder">noborder</option> 227 <option value="noborder">noborder</option>
144 <option value="exactfit">exactfit</option> 228 <option value="exactfit">exactfit</option>
145 <option value="noscale">noscale</option> 229 <option value="noscale">noscale</option>
148 </tr> 232 </tr>
149 233
150 <tr> 234 <tr>
151 <td><label for="flash_wmode">{#media_dlg.wmode}</label></td> 235 <td><label for="flash_wmode">{#media_dlg.wmode}</label></td>
152 <td> 236 <td>
153 <select id="flash_wmode" name="flash_wmode" onchange="generatePreview();"> 237 <select id="flash_wmode" name="flash_wmode" onchange="Media.formToData();">
154 <option value="">{#not_set}</option> 238 <option value="">{#not_set}</option>
155 <option value="window">window</option> 239 <option value="window">window</option>
156 <option value="opaque">opaque</option> 240 <option value="opaque">opaque</option>
157 <option value="transparent">transparent</option> 241 <option value="transparent">transparent</option>
158 </select> 242 </select>
159 </td> 243 </td>
160 244
161 <td><label for="flash_salign">{#media_dlg.salign}</label></td> 245 <td><label for="flash_salign">{#media_dlg.salign}</label></td>
162 <td> 246 <td>
163 <select id="flash_salign" name="flash_salign" onchange="generatePreview();"> 247 <select id="flash_salign" name="flash_salign" onchange="Media.formToData();">
164 <option value="">{#not_set}</option> 248 <option value="">{#not_set}</option>
165 <option value="l">{#media_dlg.align_left}</option> 249 <option value="l">{#media_dlg.align_left}</option>
166 <option value="t">{#media_dlg.align_top}</option> 250 <option value="t">{#media_dlg.align_top}</option>
167 <option value="r">{#media_dlg.align_right}</option> 251 <option value="r">{#media_dlg.align_right}</option>
168 <option value="b">{#media_dlg.align_bottom}</option> 252 <option value="b">{#media_dlg.align_bottom}</option>
174 </td> 258 </td>
175 </tr> 259 </tr>
176 260
177 <tr> 261 <tr>
178 <td colspan="2"> 262 <td colspan="2">
179 <table border="0" cellpadding="0" cellspacing="0"> 263 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
180 <tr> 264 <tr>
181 <td><input type="checkbox" class="checkbox" id="flash_play" name="flash_play" checked="checked" onchange="generatePreview();" /></td> 265 <td><input type="checkbox" class="checkbox" id="flash_play" name="flash_play" checked="checked" onchange="Media.formToData();" /></td>
182 <td><label for="flash_play">{#media_dlg.play}</label></td> 266 <td><label for="flash_play">{#media_dlg.play}</label></td>
183 </tr> 267 </tr>
184 </table> 268 </table>
185 </td> 269 </td>
186 270
187 <td colspan="2"> 271 <td colspan="2">
188 <table border="0" cellpadding="0" cellspacing="0"> 272 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
189 <tr> 273 <tr>
190 <td><input type="checkbox" class="checkbox" id="flash_loop" name="flash_loop" checked="checked" onchange="generatePreview();" /></td> 274 <td><input type="checkbox" class="checkbox" id="flash_loop" name="flash_loop" checked="checked" onchange="Media.formToData();" /></td>
191 <td><label for="flash_loop">{#media_dlg.loop}</label></td> 275 <td><label for="flash_loop">{#media_dlg.loop}</label></td>
192 </tr> 276 </tr>
193 </table> 277 </table>
194 </td> 278 </td>
195 </tr> 279 </tr>
196 280
197 <tr> 281 <tr>
198 <td colspan="2"> 282 <td colspan="2">
199 <table border="0" cellpadding="0" cellspacing="0"> 283 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
200 <tr> 284 <tr>
201 <td><input type="checkbox" class="checkbox" id="flash_menu" name="flash_menu" checked="checked" onchange="generatePreview();" /></td> 285 <td><input type="checkbox" class="checkbox" id="flash_menu" name="flash_menu" checked="checked" onchange="Media.formToData();" /></td>
202 <td><label for="flash_menu">{#media_dlg.menu}</label></td> 286 <td><label for="flash_menu">{#media_dlg.menu}</label></td>
203 </tr> 287 </tr>
204 </table> 288 </table>
205 </td> 289 </td>
206 290
207 <td colspan="2"> 291 <td colspan="2">
208 <table border="0" cellpadding="0" cellspacing="0"> 292 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
209 <tr> 293 <tr>
210 <td><input type="checkbox" class="checkbox" id="flash_swliveconnect" name="flash_swliveconnect" onchange="generatePreview();" /></td> 294 <td><input type="checkbox" class="checkbox" id="flash_swliveconnect" name="flash_swliveconnect" onchange="Media.formToData();" /></td>
211 <td><label for="flash_swliveconnect">{#media_dlg.liveconnect}</label></td> 295 <td><label for="flash_swliveconnect">{#media_dlg.liveconnect}</label></td>
212 </tr> 296 </tr>
213 </table> 297 </table>
214 </td> 298 </td>
215 </tr> 299 </tr>
216 </table> 300 </table>
217 301
218 <table> 302 <table role="presentation">
219 <tr> 303 <tr>
220 <td><label for="flash_base">{#media_dlg.base}</label></td> 304 <td><label for="flash_base">{#media_dlg.base}</label></td>
221 <td><input type="text" id="flash_base" name="flash_base" onchange="generatePreview();" /></td> 305 <td><input type="text" id="flash_base" name="flash_base" onchange="Media.formToData();" /></td>
222 </tr> 306 </tr>
223 307
224 <tr> 308 <tr>
225 <td><label for="flash_flashvars">{#media_dlg.flashvars}</label></td> 309 <td><label for="flash_flashvars">{#media_dlg.flashvars}</label></td>
226 <td><input type="text" id="flash_flashvars" name="flash_flashvars" onchange="generatePreview();" /></td> 310 <td><input type="text" id="flash_flashvars" name="flash_flashvars" onchange="Media.formToData();" /></td>
227 </tr> 311 </tr>
228 </table> 312 </table>
229 </fieldset> 313 </fieldset>
230 314
231 <fieldset id="flv_options"> 315 <fieldset id="quicktime_options">
232 <legend>{#media_dlg.flv_options}</legend>
233
234 <table border="0" cellpadding="4" cellspacing="0">
235 <tr>
236 <td><label for="flv_scalemode">{#media_dlg.flv_scalemode}</label></td>
237 <td>
238 <select id="flv_scalemode" name="flv_scalemode" onchange="generatePreview();">
239 <option value="">{#not_set}</option>
240 <option value="none">none</option>
241 <option value="double">double</option>
242 <option value="full">full</option>
243 </select>
244 </td>
245
246 <td><label for="flv_buffer">{#media_dlg.flv_buffer}</label></td>
247 <td><input type="text" id="flv_buffer" name="flv_buffer" onchange="generatePreview();" /></td>
248 </tr>
249
250 <tr>
251 <td><label for="flv_startimage">{#media_dlg.flv_startimage}</label></td>
252 <td><input type="text" id="flv_startimage" name="flv_startimage" onchange="generatePreview();" /></td>
253
254 <td><label for="flv_starttime">{#media_dlg.flv_starttime}</label></td>
255 <td><input type="text" id="flv_starttime" name="flv_starttime" onchange="generatePreview();" /></td>
256 </tr>
257
258 <tr>
259 <td><label for="flv_defaultvolume">{#media_dlg.flv_defaultvolume}</label></td>
260 <td><input type="text" id="flv_defaultvolume" name="flv_defaultvolume" onchange="generatePreview();" /></td>
261
262
263 </tr>
264
265 <tr>
266 <td colspan="2">
267 <table border="0" cellpadding="0" cellspacing="0">
268 <tr>
269 <td><input type="checkbox" class="checkbox" id="flv_hiddengui" name="flv_hiddengui" checked="checked" onchange="generatePreview();" /></td>
270 <td><label for="flv_hiddengui">{#media_dlg.flv_hiddengui}</label></td>
271 </tr>
272 </table>
273 </td>
274
275 <td colspan="2">
276 <table border="0" cellpadding="0" cellspacing="0">
277 <tr>
278 <td><input type="checkbox" class="checkbox" id="flv_autostart" name="flv_autostart" checked="checked" onchange="generatePreview();" /></td>
279 <td><label for="flv_autostart">{#media_dlg.flv_autostart}</label></td>
280 </tr>
281 </table>
282 </td>
283 </tr>
284
285 <tr>
286 <td colspan="2">
287 <table border="0" cellpadding="0" cellspacing="0">
288 <tr>
289 <td><input type="checkbox" class="checkbox" id="flv_loop" name="flv_loop" checked="checked" onchange="generatePreview();" /></td>
290 <td><label for="flv_loop">{#media_dlg.flv_loop}</label></td>
291 </tr>
292 </table>
293 </td>
294
295 <td colspan="2">
296 <table border="0" cellpadding="0" cellspacing="0">
297 <tr>
298 <td><input type="checkbox" class="checkbox" id="flv_showscalemodes" name="flv_showscalemodes" onchange="generatePreview();" /></td>
299 <td><label for="flv_showscalemodes">{#media_dlg.flv_showscalemodes}</label></td>
300 </tr>
301 </table>
302 </td>
303 </tr>
304
305 <tr>
306 <td colspan="2">
307 <table border="0" cellpadding="0" cellspacing="0">
308 <tr>
309 <td><input type="checkbox" class="checkbox" id="flv_smoothvideo" name="flash_flv_flv_smoothvideosmoothvideo" checked="checked" onchange="generatePreview();" /></td>
310 <td><label for="flv_smoothvideo">{#media_dlg.flv_smoothvideo}</label></td>
311 </tr>
312 </table>
313 </td>
314
315 <td colspan="2">
316 <table border="0" cellpadding="0" cellspacing="0">
317 <tr>
318 <td><input type="checkbox" class="checkbox" id="flv_jscallback" name="flv_jscallback" onchange="generatePreview();" /></td>
319 <td><label for="flv_jscallback">{#media_dlg.flv_jscallback}</label></td>
320 </tr>
321 </table>
322 </td>
323 </tr>
324 </table>
325 </fieldset>
326
327 <fieldset id="qt_options">
328 <legend>{#media_dlg.qt_options}</legend> 316 <legend>{#media_dlg.qt_options}</legend>
329 317
330 <table border="0" cellpadding="4" cellspacing="0"> 318 <table role="presentation" border="0" cellpadding="4" cellspacing="0">
331 <tr> 319 <tr>
332 <td colspan="2"> 320 <td colspan="2">
333 <table border="0" cellpadding="0" cellspacing="0"> 321 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
334 <tr> 322 <tr>
335 <td><input type="checkbox" class="checkbox" id="qt_loop" name="qt_loop" onchange="generatePreview();" /></td> 323 <td><input type="checkbox" class="checkbox" id="quicktime_loop" name="quicktime_loop" onchange="Media.formToData();" /></td>
336 <td><label for="qt_loop">{#media_dlg.loop}</label></td> 324 <td><label for="quicktime_loop">{#media_dlg.loop}</label></td>
337 </tr> 325 </tr>
338 </table> 326 </table>
339 </td> 327 </td>
340 328
341 <td colspan="2"> 329 <td colspan="2">
342 <table border="0" cellpadding="0" cellspacing="0"> 330 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
343 <tr> 331 <tr>
344 <td><input type="checkbox" class="checkbox" id="qt_autoplay" name="qt_autoplay" checked="checked" onchange="generatePreview();" /></td> 332 <td><input type="checkbox" class="checkbox" id="quicktime_autoplay" name="quicktime_autoplay" checked="checked" onchange="Media.formToData();" /></td>
345 <td><label for="qt_autoplay">{#media_dlg.play}</label></td> 333 <td><label for="quicktime_autoplay">{#media_dlg.play}</label></td>
346 </tr> 334 </tr>
347 </table> 335 </table>
348 </td> 336 </td>
349 </tr> 337 </tr>
350 338
351 <tr> 339 <tr>
352 <td colspan="2"> 340 <td colspan="2">
353 <table border="0" cellpadding="0" cellspacing="0"> 341 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
354 <tr> 342 <tr>
355 <td><input type="checkbox" class="checkbox" id="qt_cache" name="qt_cache" onchange="generatePreview();" /></td> 343 <td><input type="checkbox" class="checkbox" id="quicktime_cache" name="quicktime_cache" onchange="Media.formToData();" /></td>
356 <td><label for="qt_cache">{#media_dlg.cache}</label></td> 344 <td><label for="quicktime_cache">{#media_dlg.cache}</label></td>
357 </tr> 345 </tr>
358 </table> 346 </table>
359 </td> 347 </td>
360 348
361 <td colspan="2"> 349 <td colspan="2">
362 <table border="0" cellpadding="0" cellspacing="0"> 350 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
363 <tr> 351 <tr>
364 <td><input type="checkbox" class="checkbox" id="qt_controller" name="qt_controller" checked="checked" onchange="generatePreview();" /></td> 352 <td><input type="checkbox" class="checkbox" id="quicktime_controller" name="quicktime_controller" checked="checked" onchange="Media.formToData();" /></td>
365 <td><label for="qt_controller">{#media_dlg.controller}</label></td> 353 <td><label for="quicktime_controller">{#media_dlg.controller}</label></td>
366 </tr> 354 </tr>
367 </table> 355 </table>
368 </td> 356 </td>
369 </tr> 357 </tr>
370 358
371 <tr> 359 <tr>
372 <td colspan="2"> 360 <td colspan="2">
373 <table border="0" cellpadding="0" cellspacing="0"> 361 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
374 <tr> 362 <tr>
375 <td><input type="checkbox" class="checkbox" id="qt_correction" name="qt_correction" onchange="generatePreview();" /></td> 363 <td><input type="checkbox" class="checkbox" id="quicktime_correction" name="quicktime_correction" onchange="Media.formToData();" /></td>
376 <td><label for="qt_correction">{#media_dlg.correction}</label></td> 364 <td><label for="quicktime_correction">{#media_dlg.correction}</label></td>
377 </tr> 365 </tr>
378 </table> 366 </table>
379 </td> 367 </td>
380 368
381 <td colspan="2"> 369 <td colspan="2">
382 <table border="0" cellpadding="0" cellspacing="0"> 370 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
383 <tr> 371 <tr>
384 <td><input type="checkbox" class="checkbox" id="qt_enablejavascript" name="qt_enablejavascript" onchange="generatePreview();" /></td> 372 <td><input type="checkbox" class="checkbox" id="quicktime_enablejavascript" name="quicktime_enablejavascript" onchange="Media.formToData();" /></td>
385 <td><label for="qt_enablejavascript">{#media_dlg.enablejavascript}</label></td> 373 <td><label for="quicktime_enablejavascript">{#media_dlg.enablejavascript}</label></td>
386 </tr> 374 </tr>
387 </table> 375 </table>
388 </td> 376 </td>
389 </tr> 377 </tr>
390 378
391 <tr> 379 <tr>
392 <td colspan="2"> 380 <td colspan="2">
393 <table border="0" cellpadding="0" cellspacing="0"> 381 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
394 <tr> 382 <tr>
395 <td><input type="checkbox" class="checkbox" id="qt_kioskmode" name="qt_kioskmode" onchange="generatePreview();" /></td> 383 <td><input type="checkbox" class="checkbox" id="quicktime_kioskmode" name="quicktime_kioskmode" onchange="Media.formToData();" /></td>
396 <td><label for="qt_kioskmode">{#media_dlg.kioskmode}</label></td> 384 <td><label for="quicktime_kioskmode">{#media_dlg.kioskmode}</label></td>
397 </tr> 385 </tr>
398 </table> 386 </table>
399 </td> 387 </td>
400 388
401 <td colspan="2"> 389 <td colspan="2">
402 <table border="0" cellpadding="0" cellspacing="0"> 390 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
403 <tr> 391 <tr>
404 <td><input type="checkbox" class="checkbox" id="qt_autohref" name="qt_autohref" onchange="generatePreview();" /></td> 392 <td><input type="checkbox" class="checkbox" id="quicktime_autohref" name="quicktime_autohref" onchange="Media.formToData();" /></td>
405 <td><label for="qt_autohref">{#media_dlg.autohref}</label></td> 393 <td><label for="quicktime_autohref">{#media_dlg.autohref}</label></td>
406 </tr> 394 </tr>
407 </table> 395 </table>
408 </td> 396 </td>
409 </tr> 397 </tr>
410 398
411 <tr> 399 <tr>
412 <td colspan="2"> 400 <td colspan="2">
413 <table border="0" cellpadding="0" cellspacing="0"> 401 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
414 <tr> 402 <tr>
415 <td><input type="checkbox" class="checkbox" id="qt_playeveryframe" name="qt_playeveryframe" onchange="generatePreview();" /></td> 403 <td><input type="checkbox" class="checkbox" id="quicktime_playeveryframe" name="quicktime_playeveryframe" onchange="Media.formToData();" /></td>
416 <td><label for="qt_playeveryframe">{#media_dlg.playeveryframe}</label></td> 404 <td><label for="quicktime_playeveryframe">{#media_dlg.playeveryframe}</label></td>
417 </tr> 405 </tr>
418 </table> 406 </table>
419 </td> 407 </td>
420 408
421 <td colspan="2"> 409 <td colspan="2">
422 <table border="0" cellpadding="0" cellspacing="0"> 410 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
423 <tr> 411 <tr>
424 <td><input type="checkbox" class="checkbox" id="qt_targetcache" name="qt_targetcache" onchange="generatePreview();" /></td> 412 <td><input type="checkbox" class="checkbox" id="quicktime_targetcache" name="quicktime_targetcache" onchange="Media.formToData();" /></td>
425 <td><label for="qt_targetcache">{#media_dlg.targetcache}</label></td> 413 <td><label for="quicktime_targetcache">{#media_dlg.targetcache}</label></td>
426 </tr> 414 </tr>
427 </table> 415 </table>
428 </td> 416 </td>
429 </tr> 417 </tr>
430 418
431 <tr> 419 <tr>
432 <td><label for="qt_scale">{#media_dlg.scale}</label></td> 420 <td><label for="quicktime_scale">{#media_dlg.scale}</label></td>
433 <td><select id="qt_scale" name="qt_scale" class="mceEditableSelect" onchange="generatePreview();"> 421 <td><select id="quicktime_scale" name="quicktime_scale" class="mceEditableSelect" onchange="Media.formToData();">
434 <option value="">{#not_set}</option> 422 <option value="">{#not_set}</option>
435 <option value="tofit">tofit</option> 423 <option value="tofit">tofit</option>
436 <option value="aspect">aspect</option> 424 <option value="aspect">aspect</option>
437 </select> 425 </select>
438 </td> 426 </td>
439 427
440 <td colspan="2">&nbsp;</td> 428 <td colspan="2">&nbsp;</td>
441 </tr> 429 </tr>
442 430
443 <tr> 431 <tr>
444 <td><label for="qt_starttime">{#media_dlg.starttime}</label></td> 432 <td><label for="quicktime_starttime">{#media_dlg.starttime}</label></td>
445 <td><input type="text" id="qt_starttime" name="qt_starttime" onchange="generatePreview();" /></td> 433 <td><input type="text" id="quicktime_starttime" name="quicktime_starttime" onchange="Media.formToData();" /></td>
446 434
447 <td><label for="qt_endtime">{#media_dlg.endtime}</label></td> 435 <td><label for="quicktime_endtime">{#media_dlg.endtime}</label></td>
448 <td><input type="text" id="qt_endtime" name="qt_endtime" onchange="generatePreview();" /></td> 436 <td><input type="text" id="quicktime_endtime" name="quicktime_endtime" onchange="Media.formToData();" /></td>
449 </tr> 437 </tr>
450 438
451 <tr> 439 <tr>
452 <td><label for="qt_target">{#media_dlg.target}</label></td> 440 <td><label for="quicktime_target">{#media_dlg.target}</label></td>
453 <td><input type="text" id="qt_target" name="qt_target" onchange="generatePreview();" /></td> 441 <td><input type="text" id="quicktime_target" name="quicktime_target" onchange="Media.formToData();" /></td>
454 442
455 <td><label for="qt_href">{#media_dlg.href}</label></td> 443 <td><label for="quicktime_href">{#media_dlg.href}</label></td>
456 <td><input type="text" id="qt_href" name="qt_href" onchange="generatePreview();" /></td> 444 <td><input type="text" id="quicktime_href" name="quicktime_href" onchange="Media.formToData();" /></td>
457 </tr> 445 </tr>
458 446
459 <tr> 447 <tr>
460 <td><label for="qt_qtsrcchokespeed">{#media_dlg.qtsrcchokespeed}</label></td> 448 <td><label for="quicktime_qtsrcchokespeed">{#media_dlg.qtsrcchokespeed}</label></td>
461 <td><input type="text" id="qt_qtsrcchokespeed" name="qt_qtsrcchokespeed" onchange="generatePreview();" /></td> 449 <td><input type="text" id="quicktime_qtsrcchokespeed" name="quicktime_qtsrcchokespeed" onchange="Media.formToData();" /></td>
462 450
463 <td><label for="qt_volume">{#media_dlg.volume}</label></td> 451 <td><label for="quicktime_volume">{#media_dlg.volume}</label></td>
464 <td><input type="text" id="qt_volume" name="qt_volume" onchange="generatePreview();" /></td> 452 <td><input type="text" id="quicktime_volume" name="quicktime_volume" onchange="Media.formToData();" /></td>
465 </tr> 453 </tr>
466 454
467 <tr> 455 <tr>
468 <td><label for="qt_qtsrc">{#media_dlg.qtsrc}</label></td> 456 <td><label for="quicktime_qtsrc">{#media_dlg.qtsrc}</label></td>
469 <td colspan="4"> 457 <td colspan="4">
470 <table border="0" cellspacing="0" cellpadding="0"> 458 <table role="presentation" border="0" cellspacing="0" cellpadding="0">
471 <tr> 459 <tr>
472 <td><input type="text" id="qt_qtsrc" name="qt_qtsrc" onchange="generatePreview();" /></td> 460 <td><input type="text" id="quicktime_qtsrc" name="quicktime_qtsrc" onchange="Media.formToData();" /></td>
473 <td id="qtsrcfilebrowsercontainer">&nbsp;</td> 461 <td id="qtsrcfilebrowsercontainer">&nbsp;</td>
474 </tr> 462 </tr>
475 </table> 463 </table>
476 </td> 464 </td>
477 </tr> 465 </tr>
478 </table> 466 </table>
479 </fieldset> 467 </fieldset>
480 468
481 <fieldset id="wmp_options"> 469 <fieldset id="windowsmedia_options">
482 <legend>{#media_dlg.wmp_options}</legend> 470 <legend>{#media_dlg.wmp_options}</legend>
483 471
484 <table border="0" cellpadding="4" cellspacing="0"> 472 <table role="presentation" border="0" cellpadding="4" cellspacing="0">
485 <tr> 473 <tr>
486 <td colspan="2"> 474 <td colspan="2">
487 <table border="0" cellpadding="0" cellspacing="0"> 475 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
488 <tr> 476 <tr>
489 <td><input type="checkbox" class="checkbox" id="wmp_autostart" name="wmp_autostart" checked="checked" onchange="generatePreview();" /></td> 477 <td><input type="checkbox" class="checkbox" id="windowsmedia_autostart" name="windowsmedia_autostart" checked="checked" onchange="Media.formToData();" /></td>
490 <td><label for="wmp_autostart">{#media_dlg.autostart}</label></td> 478 <td><label for="windowsmedia_autostart">{#media_dlg.autostart}</label></td>
491 </tr> 479 </tr>
492 </table> 480 </table>
493 </td> 481 </td>
494 482
495 <td colspan="2"> 483 <td colspan="2">
496 <table border="0" cellpadding="0" cellspacing="0"> 484 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
497 <tr> 485 <tr>
498 <td><input type="checkbox" class="checkbox" id="wmp_enabled" name="wmp_enabled" onchange="generatePreview();" /></td> 486 <td><input type="checkbox" class="checkbox" id="windowsmedia_enabled" name="windowsmedia_enabled" onchange="Media.formToData();" /></td>
499 <td><label for="wmp_enabled">{#media_dlg.enabled}</label></td> 487 <td><label for="windowsmedia_enabled">{#media_dlg.enabled}</label></td>
500 </tr> 488 </tr>
501 </table> 489 </table>
502 </td> 490 </td>
503 </tr> 491 </tr>
504 492
505 <tr> 493 <tr>
506 <td colspan="2"> 494 <td colspan="2">
507 <table border="0" cellpadding="0" cellspacing="0"> 495 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
508 <tr> 496 <tr>
509 <td><input type="checkbox" class="checkbox" id="wmp_enablecontextmenu" name="wmp_enablecontextmenu" checked="checked" onchange="generatePreview();" /></td> 497 <td><input type="checkbox" class="checkbox" id="windowsmedia_enablecontextmenu" name="windowsmedia_enablecontextmenu" checked="checked" onchange="Media.formToData();" /></td>
510 <td><label for="wmp_enablecontextmenu">{#media_dlg.menu}</label></td> 498 <td><label for="windowsmedia_enablecontextmenu">{#media_dlg.menu}</label></td>
511 </tr> 499 </tr>
512 </table> 500 </table>
513 </td> 501 </td>
514 502
515 <td colspan="2"> 503 <td colspan="2">
516 <table border="0" cellpadding="0" cellspacing="0"> 504 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
517 <tr> 505 <tr>
518 <td><input type="checkbox" class="checkbox" id="wmp_fullscreen" name="wmp_fullscreen" onchange="generatePreview();" /></td> 506 <td><input type="checkbox" class="checkbox" id="windowsmedia_fullscreen" name="windowsmedia_fullscreen" onchange="Media.formToData();" /></td>
519 <td><label for="wmp_fullscreen">{#media_dlg.fullscreen}</label></td> 507 <td><label for="windowsmedia_fullscreen">{#media_dlg.fullscreen}</label></td>
520 </tr> 508 </tr>
521 </table> 509 </table>
522 </td> 510 </td>
523 </tr> 511 </tr>
524 512
525 <tr> 513 <tr>
526 <td colspan="2"> 514 <td colspan="2">
527 <table border="0" cellpadding="0" cellspacing="0"> 515 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
528 <tr> 516 <tr>
529 <td><input type="checkbox" class="checkbox" id="wmp_invokeurls" name="wmp_invokeurls" checked="checked" onchange="generatePreview();" /></td> 517 <td><input type="checkbox" class="checkbox" id="windowsmedia_invokeurls" name="windowsmedia_invokeurls" checked="checked" onchange="Media.formToData();" /></td>
530 <td><label for="wmp_invokeurls">{#media_dlg.invokeurls}</label></td> 518 <td><label for="windowsmedia_invokeurls">{#media_dlg.invokeurls}</label></td>
531 </tr> 519 </tr>
532 </table> 520 </table>
533 </td> 521 </td>
534 522
535 <td colspan="2"> 523 <td colspan="2">
536 <table border="0" cellpadding="0" cellspacing="0"> 524 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
537 <tr> 525 <tr>
538 <td><input type="checkbox" class="checkbox" id="wmp_mute" name="wmp_mute" onchange="generatePreview();" /></td> 526 <td><input type="checkbox" class="checkbox" id="windowsmedia_mute" name="windowsmedia_mute" onchange="Media.formToData();" /></td>
539 <td><label for="wmp_mute">{#media_dlg.mute}</label></td> 527 <td><label for="windowsmedia_mute">{#media_dlg.mute}</label></td>
540 </tr> 528 </tr>
541 </table> 529 </table>
542 </td> 530 </td>
543 </tr> 531 </tr>
544 532
545 <tr> 533 <tr>
546 <td colspan="2"> 534 <td colspan="2">
547 <table border="0" cellpadding="0" cellspacing="0"> 535 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
548 <tr> 536 <tr>
549 <td><input type="checkbox" class="checkbox" id="wmp_stretchtofit" name="wmp_stretchtofit" onchange="generatePreview();" /></td> 537 <td><input type="checkbox" class="checkbox" id="windowsmedia_stretchtofit" name="windowsmedia_stretchtofit" onchange="Media.formToData();" /></td>
550 <td><label for="wmp_stretchtofit">{#media_dlg.stretchtofit}</label></td> 538 <td><label for="windowsmedia_stretchtofit">{#media_dlg.stretchtofit}</label></td>
551 </tr> 539 </tr>
552 </table> 540 </table>
553 </td> 541 </td>
554 542
555 <td colspan="2"> 543 <td colspan="2">
556 <table border="0" cellpadding="0" cellspacing="0"> 544 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
557 <tr> 545 <tr>
558 <td><input type="checkbox" class="checkbox" id="wmp_windowlessvideo" name="wmp_windowlessvideo" onchange="generatePreview();" /></td> 546 <td><input type="checkbox" class="checkbox" id="windowsmedia_windowlessvideo" name="windowsmedia_windowlessvideo" onchange="Media.formToData();" /></td>
559 <td><label for="wmp_windowlessvideo">{#media_dlg.windowlessvideo}</label></td> 547 <td><label for="windowsmedia_windowlessvideo">{#media_dlg.windowlessvideo}</label></td>
560 </tr> 548 </tr>
561 </table> 549 </table>
562 </td> 550 </td>
563 </tr> 551 </tr>
564 552
565 <tr> 553 <tr>
566 <td><label for="wmp_balance">{#media_dlg.balance}</label></td> 554 <td><label for="windowsmedia_balance">{#media_dlg.balance}</label></td>
567 <td><input type="text" id="wmp_balance" name="wmp_balance" onchange="generatePreview();" /></td> 555 <td><input type="text" id="windowsmedia_balance" name="windowsmedia_balance" onchange="Media.formToData();" /></td>
568 556
569 <td><label for="wmp_baseurl">{#media_dlg.baseurl}</label></td> 557 <td><label for="windowsmedia_baseurl">{#media_dlg.baseurl}</label></td>
570 <td><input type="text" id="wmp_baseurl" name="wmp_baseurl" onchange="generatePreview();" /></td> 558 <td><input type="text" id="windowsmedia_baseurl" name="windowsmedia_baseurl" onchange="Media.formToData();" /></td>
571 </tr> 559 </tr>
572 560
573 <tr> 561 <tr>
574 <td><label for="wmp_captioningid">{#media_dlg.captioningid}</label></td> 562 <td><label for="windowsmedia_captioningid">{#media_dlg.captioningid}</label></td>
575 <td><input type="text" id="wmp_captioningid" name="wmp_captioningid" onchange="generatePreview();" /></td> 563 <td><input type="text" id="windowsmedia_captioningid" name="windowsmedia_captioningid" onchange="Media.formToData();" /></td>
576 564
577 <td><label for="wmp_currentmarker">{#media_dlg.currentmarker}</label></td> 565 <td><label for="windowsmedia_currentmarker">{#media_dlg.currentmarker}</label></td>
578 <td><input type="text" id="wmp_currentmarker" name="wmp_currentmarker" onchange="generatePreview();" /></td> 566 <td><input type="text" id="windowsmedia_currentmarker" name="windowsmedia_currentmarker" onchange="Media.formToData();" /></td>
579 </tr> 567 </tr>
580 568
581 <tr> 569 <tr>
582 <td><label for="wmp_currentposition">{#media_dlg.currentposition}</label></td> 570 <td><label for="windowsmedia_currentposition">{#media_dlg.currentposition}</label></td>
583 <td><input type="text" id="wmp_currentposition" name="wmp_currentposition" onchange="generatePreview();" /></td> 571 <td><input type="text" id="windowsmedia_currentposition" name="windowsmedia_currentposition" onchange="Media.formToData();" /></td>
584 572
585 <td><label for="wmp_defaultframe">{#media_dlg.defaultframe}</label></td> 573 <td><label for="windowsmedia_defaultframe">{#media_dlg.defaultframe}</label></td>
586 <td><input type="text" id="wmp_defaultframe" name="wmp_defaultframe" onchange="generatePreview();" /></td> 574 <td><input type="text" id="windowsmedia_defaultframe" name="windowsmedia_defaultframe" onchange="Media.formToData();" /></td>
587 </tr> 575 </tr>
588 576
589 <tr> 577 <tr>
590 <td><label for="wmp_playcount">{#media_dlg.playcount}</label></td> 578 <td><label for="windowsmedia_playcount">{#media_dlg.playcount}</label></td>
591 <td><input type="text" id="wmp_playcount" name="wmp_playcount" onchange="generatePreview();" /></td> 579 <td><input type="text" id="windowsmedia_playcount" name="windowsmedia_playcount" onchange="Media.formToData();" /></td>
592 580
593 <td><label for="wmp_rate">{#media_dlg.rate}</label></td> 581 <td><label for="windowsmedia_rate">{#media_dlg.rate}</label></td>
594 <td><input type="text" id="wmp_rate" name="wmp_rate" onchange="generatePreview();" /></td> 582 <td><input type="text" id="windowsmedia_rate" name="windowsmedia_rate" onchange="Media.formToData();" /></td>
595 </tr> 583 </tr>
596 584
597 <tr> 585 <tr>
598 <td><label for="wmp_uimode">{#media_dlg.uimode}</label></td> 586 <td><label for="windowsmedia_uimode">{#media_dlg.uimode}</label></td>
599 <td><input type="text" id="wmp_uimode" name="wmp_uimode" onchange="generatePreview();" /></td> 587 <td><input type="text" id="windowsmedia_uimode" name="windowsmedia_uimode" onchange="Media.formToData();" /></td>
600 588
601 <td><label for="wmp_volume">{#media_dlg.volume}</label></td> 589 <td><label for="windowsmedia_volume">{#media_dlg.volume}</label></td>
602 <td><input type="text" id="wmp_volume" name="wmp_volume" onchange="generatePreview();" /></td> 590 <td><input type="text" id="windowsmedia_volume" name="windowsmedia_volume" onchange="Media.formToData();" /></td>
603 </tr> 591 </tr>
604 592
605 </table> 593 </table>
606 </fieldset> 594 </fieldset>
607 595
608 <fieldset id="rmp_options"> 596 <fieldset id="realmedia_options">
609 <legend>{#media_dlg.rmp_options}</legend> 597 <legend>{#media_dlg.rmp_options}</legend>
610 598
611 <table border="0" cellpadding="4" cellspacing="0"> 599 <table role="presentation" border="0" cellpadding="4" cellspacing="0">
612 <tr> 600 <tr>
613 <td colspan="2"> 601 <td colspan="2">
614 <table border="0" cellpadding="0" cellspacing="0"> 602 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
615 <tr> 603 <tr>
616 <td><input type="checkbox" class="checkbox" id="rmp_autostart" name="rmp_autostart" onchange="generatePreview();" /></td> 604 <td><input type="checkbox" class="checkbox" id="realmedia_autostart" name="realmedia_autostart" onchange="Media.formToData();" /></td>
617 <td><label for="rmp_autostart">{#media_dlg.autostart}</label></td> 605 <td><label for="realmedia_autostart">{#media_dlg.autostart}</label></td>
618 </tr> 606 </tr>
619 </table> 607 </table>
620 </td> 608 </td>
621 609
622 <td colspan="2"> 610 <td colspan="2">
623 <table border="0" cellpadding="0" cellspacing="0"> 611 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
624 <tr> 612 <tr>
625 <td><input type="checkbox" class="checkbox" id="rmp_loop" name="rmp_loop" onchange="generatePreview();" /></td> 613 <td><input type="checkbox" class="checkbox" id="realmedia_loop" name="realmedia_loop" onchange="Media.formToData();" /></td>
626 <td><label for="rmp_loop">{#media_dlg.loop}</label></td> 614 <td><label for="realmedia_loop">{#media_dlg.loop}</label></td>
627 </tr> 615 </tr>
628 </table> 616 </table>
629 </td> 617 </td>
630 </tr> 618 </tr>
631 619
632 <tr> 620 <tr>
633 <td colspan="2"> 621 <td colspan="2">
634 <table border="0" cellpadding="0" cellspacing="0"> 622 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
635 <tr> 623 <tr>
636 <td><input type="checkbox" class="checkbox" id="rmp_autogotourl" name="rmp_autogotourl" checked="checked" onchange="generatePreview();" /></td> 624 <td><input type="checkbox" class="checkbox" id="realmedia_autogotourl" name="realmedia_autogotourl" checked="checked" onchange="Media.formToData();" /></td>
637 <td><label for="rmp_autogotourl">{#media_dlg.autogotourl}</label></td> 625 <td><label for="realmedia_autogotourl">{#media_dlg.autogotourl}</label></td>
638 </tr> 626 </tr>
639 </table> 627 </table>
640 </td> 628 </td>
641 629
642 <td colspan="2"> 630 <td colspan="2">
643 <table border="0" cellpadding="0" cellspacing="0"> 631 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
644 <tr> 632 <tr>
645 <td><input type="checkbox" class="checkbox" id="rmp_center" name="rmp_center" onchange="generatePreview();" /></td> 633 <td><input type="checkbox" class="checkbox" id="realmedia_center" name="realmedia_center" onchange="Media.formToData();" /></td>
646 <td><label for="rmp_center">{#media_dlg.center}</label></td> 634 <td><label for="realmedia_center">{#media_dlg.center}</label></td>
647 </tr> 635 </tr>
648 </table> 636 </table>
649 </td> 637 </td>
650 </tr> 638 </tr>
651 639
652 <tr> 640 <tr>
653 <td colspan="2"> 641 <td colspan="2">
654 <table border="0" cellpadding="0" cellspacing="0"> 642 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
655 <tr> 643 <tr>
656 <td><input type="checkbox" class="checkbox" id="rmp_imagestatus" name="rmp_imagestatus" checked="checked" onchange="generatePreview();" /></td> 644 <td><input type="checkbox" class="checkbox" id="realmedia_imagestatus" name="realmedia_imagestatus" checked="checked" onchange="Media.formToData();" /></td>
657 <td><label for="rmp_imagestatus">{#media_dlg.imagestatus}</label></td> 645 <td><label for="realmedia_imagestatus">{#media_dlg.imagestatus}</label></td>
658 </tr> 646 </tr>
659 </table> 647 </table>
660 </td> 648 </td>
661 649
662 <td colspan="2"> 650 <td colspan="2">
663 <table border="0" cellpadding="0" cellspacing="0"> 651 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
664 <tr> 652 <tr>
665 <td><input type="checkbox" class="checkbox" id="rmp_maintainaspect" name="rmp_maintainaspect" onchange="generatePreview();" /></td> 653 <td><input type="checkbox" class="checkbox" id="realmedia_maintainaspect" name="realmedia_maintainaspect" onchange="Media.formToData();" /></td>
666 <td><label for="rmp_maintainaspect">{#media_dlg.maintainaspect}</label></td> 654 <td><label for="realmedia_maintainaspect">{#media_dlg.maintainaspect}</label></td>
667 </tr> 655 </tr>
668 </table> 656 </table>
669 </td> 657 </td>
670 </tr> 658 </tr>
671 659
672 <tr> 660 <tr>
673 <td colspan="2"> 661 <td colspan="2">
674 <table border="0" cellpadding="0" cellspacing="0"> 662 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
675 <tr> 663 <tr>
676 <td><input type="checkbox" class="checkbox" id="rmp_nojava" name="rmp_nojava" onchange="generatePreview();" /></td> 664 <td><input type="checkbox" class="checkbox" id="realmedia_nojava" name="realmedia_nojava" onchange="Media.formToData();" /></td>
677 <td><label for="rmp_nojava">{#media_dlg.nojava}</label></td> 665 <td><label for="realmedia_nojava">{#media_dlg.nojava}</label></td>
678 </tr> 666 </tr>
679 </table> 667 </table>
680 </td> 668 </td>
681 669
682 <td colspan="2"> 670 <td colspan="2">
683 <table border="0" cellpadding="0" cellspacing="0"> 671 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
684 <tr> 672 <tr>
685 <td><input type="checkbox" class="checkbox" id="rmp_prefetch" name="rmp_prefetch" onchange="generatePreview();" /></td> 673 <td><input type="checkbox" class="checkbox" id="realmedia_prefetch" name="realmedia_prefetch" onchange="Media.formToData();" /></td>
686 <td><label for="rmp_prefetch">{#media_dlg.prefetch}</label></td> 674 <td><label for="realmedia_prefetch">{#media_dlg.prefetch}</label></td>
687 </tr> 675 </tr>
688 </table> 676 </table>
689 </td> 677 </td>
690 </tr> 678 </tr>
691 679
692 <tr> 680 <tr>
693 <td colspan="2"> 681 <td colspan="2">
694 <table border="0" cellpadding="0" cellspacing="0"> 682 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
695 <tr> 683 <tr>
696 <td><input type="checkbox" class="checkbox" id="rmp_shuffle" name="rmp_shuffle" onchange="generatePreview();" /></td> 684 <td><input type="checkbox" class="checkbox" id="realmedia_shuffle" name="realmedia_shuffle" onchange="Media.formToData();" /></td>
697 <td><label for="rmp_shuffle">{#media_dlg.shuffle}</label></td> 685 <td><label for="realmedia_shuffle">{#media_dlg.shuffle}</label></td>
698 </tr> 686 </tr>
699 </table> 687 </table>
700 </td> 688 </td>
701 689
702 <td colspan="2"> 690 <td colspan="2">
703 &nbsp; 691 &nbsp;
704 </td> 692 </td>
705 </tr> 693 </tr>
706 694
707 <tr> 695 <tr>
708 <td><label for="rmp_console">{#media_dlg.console}</label></td> 696 <td><label for="realmedia_console">{#media_dlg.console}</label></td>
709 <td><input type="text" id="rmp_console" name="rmp_console" onchange="generatePreview();" /></td> 697 <td><input type="text" id="realmedia_console" name="realmedia_console" onchange="Media.formToData();" /></td>
710 698
711 <td><label for="rmp_controls">{#media_dlg.controls}</label></td> 699 <td><label for="realmedia_controls">{#media_dlg.controls}</label></td>
712 <td><input type="text" id="rmp_controls" name="rmp_controls" onchange="generatePreview();" /></td> 700 <td><input type="text" id="realmedia_controls" name="realmedia_controls" onchange="Media.formToData();" /></td>
713 </tr> 701 </tr>
714 702
715 <tr> 703 <tr>
716 <td><label for="rmp_numloop">{#media_dlg.numloop}</label></td> 704 <td><label for="realmedia_numloop">{#media_dlg.numloop}</label></td>
717 <td><input type="text" id="rmp_numloop" name="rmp_numloop" onchange="generatePreview();" /></td> 705 <td><input type="text" id="realmedia_numloop" name="realmedia_numloop" onchange="Media.formToData();" /></td>
718 706
719 <td><label for="rmp_scriptcallbacks">{#media_dlg.scriptcallbacks}</label></td> 707 <td><label for="realmedia_scriptcallbacks">{#media_dlg.scriptcallbacks}</label></td>
720 <td><input type="text" id="rmp_scriptcallbacks" name="rmp_scriptcallbacks" onchange="generatePreview();" /></td> 708 <td><input type="text" id="realmedia_scriptcallbacks" name="realmedia_scriptcallbacks" onchange="Media.formToData();" /></td>
721 </tr> 709 </tr>
722 </table> 710 </table>
723 </fieldset> 711 </fieldset>
724 712
725 <fieldset id="shockwave_options"> 713 <fieldset id="shockwave_options">
726 <legend>{#media_dlg.shockwave_options}</legend> 714 <legend>{#media_dlg.shockwave_options}</legend>
727 715
728 <table border="0" cellpadding="4" cellspacing="0"> 716 <table role="presentation" border="0" cellpadding="4" cellspacing="0">
729 <tr> 717 <tr>
730 <td><label for="shockwave_swstretchstyle">{#media_dlg.swstretchstyle}</label></td> 718 <td><label for="shockwave_swstretchstyle">{#media_dlg.swstretchstyle}</label></td>
731 <td> 719 <td>
732 <select id="shockwave_swstretchstyle" name="shockwave_swstretchstyle" onchange="generatePreview();"> 720 <select id="shockwave_swstretchstyle" name="shockwave_swstretchstyle" onchange="Media.formToData();">
733 <option value="none">{#not_set}</option> 721 <option value="none">{#not_set}</option>
734 <option value="meet">Meet</option> 722 <option value="meet">Meet</option>
735 <option value="fill">Fill</option> 723 <option value="fill">Fill</option>
736 <option value="stage">Stage</option> 724 <option value="stage">Stage</option>
737 </select> 725 </select>
738 </td> 726 </td>
739 727
740 <td><label for="shockwave_swvolume">{#media_dlg.volume}</label></td> 728 <td><label for="shockwave_swvolume">{#media_dlg.volume}</label></td>
741 <td><input type="text" id="shockwave_swvolume" name="shockwave_swvolume" onchange="generatePreview();" /></td> 729 <td><input type="text" id="shockwave_swvolume" name="shockwave_swvolume" onchange="Media.formToData();" /></td>
742 </tr> 730 </tr>
743 731
744 <tr> 732 <tr>
745 <td><label for="shockwave_swstretchhalign">{#media_dlg.swstretchhalign}</label></td> 733 <td><label for="shockwave_swstretchhalign">{#media_dlg.swstretchhalign}</label></td>
746 <td> 734 <td>
747 <select id="shockwave_swstretchhalign" name="shockwave_swstretchhalign" onchange="generatePreview();"> 735 <select id="shockwave_swstretchhalign" name="shockwave_swstretchhalign" onchange="Media.formToData();">
748 <option value="none">{#not_set}</option> 736 <option value="none">{#not_set}</option>
749 <option value="left">{#media_dlg.align_left}</option> 737 <option value="left">{#media_dlg.align_left}</option>
750 <option value="center">{#media_dlg.align_center}</option> 738 <option value="center">{#media_dlg.align_center}</option>
751 <option value="right">{#media_dlg.align_right}</option> 739 <option value="right">{#media_dlg.align_right}</option>
752 </select> 740 </select>
753 </td> 741 </td>
754 742
755 <td><label for="shockwave_swstretchvalign">{#media_dlg.swstretchvalign}</label></td> 743 <td><label for="shockwave_swstretchvalign">{#media_dlg.swstretchvalign}</label></td>
756 <td> 744 <td>
757 <select id="shockwave_swstretchvalign" name="shockwave_swstretchvalign" onchange="generatePreview();"> 745 <select id="shockwave_swstretchvalign" name="shockwave_swstretchvalign" onchange="Media.formToData();">
758 <option value="none">{#not_set}</option> 746 <option value="none">{#not_set}</option>
759 <option value="meet">Meet</option> 747 <option value="meet">Meet</option>
760 <option value="fill">Fill</option> 748 <option value="fill">Fill</option>
761 <option value="stage">Stage</option> 749 <option value="stage">Stage</option>
762 </select> 750 </select>
763 </td> 751 </td>
764 </tr> 752 </tr>
765 753
766 <tr> 754 <tr>
767 <td colspan="2"> 755 <td colspan="2">
768 <table border="0" cellpadding="0" cellspacing="0"> 756 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
769 <tr> 757 <tr>
770 <td><input type="checkbox" class="checkbox" id="shockwave_autostart" name="shockwave_autostart" onchange="generatePreview();" checked="checked" /></td> 758 <td><input type="checkbox" class="checkbox" id="shockwave_autostart" name="shockwave_autostart" onchange="Media.formToData();" checked="checked" /></td>
771 <td><label for="shockwave_autostart">{#media_dlg.autostart}</label></td> 759 <td><label for="shockwave_autostart">{#media_dlg.autostart}</label></td>
772 </tr> 760 </tr>
773 </table> 761 </table>
774 </td> 762 </td>
775 763
776 <td colspan="2"> 764 <td colspan="2">
777 <table border="0" cellpadding="0" cellspacing="0"> 765 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
778 <tr> 766 <tr>
779 <td><input type="checkbox" class="checkbox" id="shockwave_sound" name="shockwave_sound" onchange="generatePreview();" checked="checked" /></td> 767 <td><input type="checkbox" class="checkbox" id="shockwave_sound" name="shockwave_sound" onchange="Media.formToData();" checked="checked" /></td>
780 <td><label for="shockwave_sound">{#media_dlg.sound}</label></td> 768 <td><label for="shockwave_sound">{#media_dlg.sound}</label></td>
781 </tr> 769 </tr>
782 </table> 770 </table>
783 </td> 771 </td>
784 </tr> 772 </tr>
785 773
786 774
787 <tr> 775 <tr>
788 <td colspan="2"> 776 <td colspan="2">
789 <table border="0" cellpadding="0" cellspacing="0"> 777 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
790 <tr> 778 <tr>
791 <td><input type="checkbox" class="checkbox" id="shockwave_swliveconnect" name="shockwave_swliveconnect" onchange="generatePreview();" /></td> 779 <td><input type="checkbox" class="checkbox" id="shockwave_swliveconnect" name="shockwave_swliveconnect" onchange="Media.formToData();" /></td>
792 <td><label for="shockwave_swliveconnect">{#media_dlg.liveconnect}</label></td> 780 <td><label for="shockwave_swliveconnect">{#media_dlg.liveconnect}</label></td>
793 </tr> 781 </tr>
794 </table> 782 </table>
795 </td> 783 </td>
796 784
797 <td colspan="2"> 785 <td colspan="2">
798 <table border="0" cellpadding="0" cellspacing="0"> 786 <table role="presentation" border="0" cellpadding="0" cellspacing="0">
799 <tr> 787 <tr>
800 <td><input type="checkbox" class="checkbox" id="shockwave_progress" name="shockwave_progress" onchange="generatePreview();" checked="checked" /></td> 788 <td><input type="checkbox" class="checkbox" id="shockwave_progress" name="shockwave_progress" onchange="Media.formToData();" checked="checked" /></td>
801 <td><label for="shockwave_progress">{#media_dlg.progress}</label></td> 789 <td><label for="shockwave_progress">{#media_dlg.progress}</label></td>
802 </tr> 790 </tr>
803 </table> 791 </table>
804 </td> 792 </td>
805 </tr> 793 </tr>
806 </table> 794 </table>
795 </fieldset>
796 </div>
797
798 <div id="source_panel" class="panel">
799 <fieldset>
800 <legend>{#media_dlg.source}</legend>
801 <textarea id="source" style="width: 100%; height: 390px"></textarea>
807 </fieldset> 802 </fieldset>
808 </div> 803 </div>
809 </div> 804 </div>
810 805
811 <div class="mceActionPanel"> 806 <div class="mceActionPanel">