includes/clientside/tinymce/plugins/media/media.htm
changeset 1 fe660c52c48f
equal deleted inserted replaced
0:902822492a68 1:fe660c52c48f
       
     1 <html xmlns="http://www.w3.org/1999/xhtml">
       
     2 <head>
       
     3 	<title>{$lang_media_title}</title>
       
     4 	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
       
     5 	<script language="javascript" type="text/javascript" src="jscripts/media.js"></script>
       
     6 	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
       
     7 	<script language="javascript" type="text/javascript" src="../../utils/validate.js"></script>
       
     8 	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
       
     9 	<script language="javascript" type="text/javascript" src="../../utils/editable_selects.js"></script>
       
    10 	<link href="css/media.css" rel="stylesheet" type="text/css" />
       
    11 	<base target="_self" />
       
    12 </head>
       
    13 <body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
       
    14     <form onsubmit="insertMedia();return false;" action="#">
       
    15 		<div class="tabs">
       
    16 			<ul>
       
    17 				<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');generatePreview();" onmousedown="return false;">{$lang_media_general}</a></span></li>
       
    18 				<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{$lang_media_advanced}</a></span></li>
       
    19 			</ul>
       
    20 		</div>
       
    21 
       
    22 		<div class="panel_wrapper">
       
    23 			<div id="general_panel" class="panel current">
       
    24 				<fieldset>
       
    25 					<legend>{$lang_media_general}</legend>
       
    26 
       
    27 					<table border="0" cellpadding="4" cellspacing="0">
       
    28 							<tr>
       
    29 								<td><label for="media_type">{$lang_media_type}</label></td>
       
    30 								<td>
       
    31 									<select id="media_type" name="media_type" onchange="changedType(this.value);generatePreview();">
       
    32 										<option value="flash">Flash</option>
       
    33 										<option value="qt">Quicktime</option>
       
    34 										<option value="shockwave">Shockware</option>
       
    35 										<option value="wmp">Windows Media</option>
       
    36 										<option value="rmp">Real Media</option>
       
    37 									</select>
       
    38 								</td>
       
    39 							</tr>
       
    40 							<tr>
       
    41 							<td><label for="src">{$lang_media_file}</label></td>
       
    42 							  <td>
       
    43 									<table border="0" cellspacing="0" cellpadding="0">
       
    44 									  <tr>
       
    45 										<td><input id="src" name="src" type="text" value="" onchange="switchType(this.value);generatePreview();" /></td>
       
    46 										<td id="filebrowsercontainer">&nbsp;</td>
       
    47 									  </tr>
       
    48 									</table>
       
    49 								</td>
       
    50 							</tr>
       
    51 							<tr id="linklistrow">
       
    52 								<td><label for="linklist">{$lang_media_list}</label></td>
       
    53 								<td id="linklistcontainer">&nbsp;</td>
       
    54 							</tr>
       
    55 							<tr>
       
    56 								<td><label for="width">{$lang_media_size}</label></td>
       
    57 								<td>
       
    58 								<table border="0" cellpadding="0" cellspacing="0">
       
    59 									<tr>
       
    60 										<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>
       
    61 										<td>&nbsp;&nbsp;<input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td>
       
    62 										<td><label id="constrainlabel" for="constrain">{$lang_media_constrain_proportions}</label></td>
       
    63 									</tr>
       
    64 								</table>
       
    65 							</tr>
       
    66 					</table>
       
    67 				</fieldset>
       
    68 
       
    69 				<fieldset>
       
    70 					<legend>{$lang_media_preview}</legend>
       
    71 					<div id="prev"></div>
       
    72 				</fieldset>
       
    73 			</div>
       
    74 
       
    75 			<div id="advanced_panel" class="panel">
       
    76 				<fieldset>
       
    77 					<legend>{$lang_media_advanced}</legend>
       
    78 
       
    79 					<table border="0" cellpadding="4" cellspacing="0" width="100%">
       
    80 						<tr>
       
    81 							<td><label for="id">{$lang_media_id}</label></td>
       
    82 							<td><input type="text" id="id" name="id" onchange="generatePreview();" /></td>
       
    83 							<td><label for="name">{$lang_media_name}</label></td>
       
    84 							<td><input type="text" id="name" name="name" onchange="generatePreview();" /></td>
       
    85 						</tr>
       
    86 
       
    87 						<tr>
       
    88 							<td><label for="align">{$lang_media_align}</label></td>
       
    89 							<td>
       
    90 								<select id="align" name="align" onchange="generatePreview();">
       
    91 									<option value="">{$lang_not_set}</option> 
       
    92 									<option value="top">{$lang_media_align_top}</option>
       
    93 									<option value="right">{$lang_media_align_right}</option>
       
    94 									<option value="bottom">{$lang_media_align_bottom}</option>
       
    95 									<option value="left">{$lang_media_align_left}</option>
       
    96 								</select>
       
    97 							</td>
       
    98 
       
    99 							<td><label for="bgcolor">{$lang_media_bgcolor}</label></td>
       
   100 							<td>
       
   101 								<table border="0" cellpadding="0" cellspacing="0">
       
   102 									<tr>
       
   103 										<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');generatePreview();" /></td>
       
   104 										<td id="bgcolor_pickcontainer">&nbsp;</td>
       
   105 									</tr>
       
   106 								</table>
       
   107 							</td>
       
   108 						</tr>
       
   109 
       
   110 						<tr>
       
   111 							<td><label for="vspace">{$lang_media_vspace}</label></td>
       
   112 							<td><input type="text" id="vspace" name="vspace" class="number" onchange="generatePreview();" /></td>
       
   113 							<td><label for="hspace">{$lang_media_hspace}</label></td>
       
   114 							<td><input type="text" id="hspace" name="hspace" class="number" onchange="generatePreview();" /></td>
       
   115 						</tr>
       
   116 					</table>
       
   117 				</fieldset>
       
   118 
       
   119 				<fieldset id="flash_options">
       
   120 					<legend>{$lang_media_flash_options}</legend>
       
   121 
       
   122 					<table border="0" cellpadding="4" cellspacing="0">
       
   123 						<tr>
       
   124 							<td><label for="flash_quality">{$lang_media_quality}</label></td>
       
   125 							<td>
       
   126 								<select id="flash_quality" name="flash_quality" onchange="generatePreview();">
       
   127 									<option value="">{$lang_not_set}</option> 
       
   128 									<option value="high">high</option>
       
   129 									<option value="low">low</option>
       
   130 									<option value="autolow">autolow</option>
       
   131 									<option value="autohigh">autohigh</option>
       
   132 									<option value="best">best</option>
       
   133 								</select>
       
   134 							</td>
       
   135 
       
   136 							<td><label for="flash_scale">{$lang_media_scale}</label></td>
       
   137 							<td>
       
   138 								<select id="flash_scale" name="flash_scale" onchange="generatePreview();">
       
   139 									<option value="">{$lang_not_set}</option> 
       
   140 									<option value="showall">showall</option>
       
   141 									<option value="noborder">noborder</option>
       
   142 									<option value="exactfit">exactfit</option>
       
   143 								</select>
       
   144 							</td>
       
   145 						</tr>
       
   146 
       
   147 						<tr>
       
   148 							<td><label for="flash_wmode">{$lang_media_wmode}</label></td>
       
   149 							<td>
       
   150 								<select id="flash_wmode" name="flash_wmode" onchange="generatePreview();">
       
   151 									<option value="">{$lang_not_set}</option> 
       
   152 									<option value="window">window</option>
       
   153 									<option value="opaque">opaque</option>
       
   154 									<option value="transparent">transparent</option>
       
   155 								</select>
       
   156 							</td>
       
   157 
       
   158 							<td><label for="flash_salign">{$lang_media_salign}</label></td>
       
   159 							<td>
       
   160 								<select id="flash_salign" name="flash_salign" onchange="generatePreview();">
       
   161 									<option value="">{$lang_not_set}</option> 
       
   162 									<option value="l">{$lang_media_align_left}</option>
       
   163 									<option value="t">{$lang_media_align_top}</option>
       
   164 									<option value="r">{$lang_media_align_right}</option>
       
   165 									<option value="b">{$lang_media_align_bottom}</option>
       
   166 									<option value="tl">{$lang_media_align_top_left}</option>
       
   167 									<option value="tr">{$lang_media_align_top_right}</option>
       
   168 									<option value="bl">{$lang_media_align_bottom_left}</option>
       
   169 									<option value="br">{$lang_media_align_bottom_right}</option>
       
   170 								</select>
       
   171 							</td>
       
   172 						</tr>
       
   173 
       
   174 						<tr>
       
   175 							<td colspan="2">
       
   176 								<table border="0" cellpadding="0" cellspacing="0">
       
   177 									<tr>
       
   178 										<td><input type="checkbox" class="checkbox" id="flash_play" name="flash_play" checked="checked" onchange="generatePreview();" /></td>
       
   179 										<td><label for="flash_play">{$lang_media_play}</label></td>
       
   180 									</tr>
       
   181 								</table>
       
   182 							</td>
       
   183 
       
   184 							<td colspan="2">
       
   185 								<table border="0" cellpadding="0" cellspacing="0">
       
   186 									<tr>
       
   187 										<td><input type="checkbox" class="checkbox" id="flash_loop" name="flash_loop" checked="checked" onchange="generatePreview();" /></td>
       
   188 										<td><label for="flash_loop">{$lang_media_loop}</label></td>
       
   189 									</tr>
       
   190 								</table>
       
   191 							</td>
       
   192 						</tr>
       
   193 
       
   194 						<tr>
       
   195 							<td colspan="2">
       
   196 								<table border="0" cellpadding="0" cellspacing="0">
       
   197 									<tr>
       
   198 										<td><input type="checkbox" class="checkbox" id="flash_menu" name="flash_menu" checked="checked" onchange="generatePreview();" /></td>
       
   199 										<td><label for="flash_menu">{$lang_media_menu}</label></td>
       
   200 									</tr>
       
   201 								</table>
       
   202 							</td>
       
   203 
       
   204 							<td colspan="2">
       
   205 								<table border="0" cellpadding="0" cellspacing="0">
       
   206 									<tr>
       
   207 										<td><input type="checkbox" class="checkbox" id="flash_swliveconnect" name="flash_swliveconnect" onchange="generatePreview();" /></td>
       
   208 										<td><label for="flash_swliveconnect">{$lang_media_liveconnect}</label></td>
       
   209 									</tr>
       
   210 								</table>
       
   211 							</td>
       
   212 						</tr>
       
   213 					</table>
       
   214 
       
   215 					<table>
       
   216 						<tr>
       
   217 							<td><label for="flash_base">{$lang_media_base}</label></td>
       
   218 							<td><input type="text" id="flash_base" name="flash_base" onchange="generatePreview();" /></td>
       
   219 						</tr>
       
   220 
       
   221 						<tr>
       
   222 							<td><label for="flash_flashvars">{$lang_media_flashvars}</label></td>
       
   223 							<td><input type="text" id="flash_flashvars" name="flash_flashvars" onchange="generatePreview();" /></td>
       
   224 						</tr>
       
   225 					</table>
       
   226 				</fieldset>
       
   227 
       
   228 				<fieldset id="qt_options">
       
   229 					<legend>{$lang_media_qt_options}</legend>
       
   230 
       
   231 					<table border="0" cellpadding="4" cellspacing="0">
       
   232 						<tr>
       
   233 							<td colspan="2">
       
   234 								<table border="0" cellpadding="0" cellspacing="0">
       
   235 									<tr>
       
   236 										<td><input type="checkbox" class="checkbox" id="qt_loop" name="qt_loop" onchange="generatePreview();" /></td>
       
   237 										<td><label for="qt_loop">{$lang_media_loop}</label></td>
       
   238 									</tr>
       
   239 								</table>
       
   240 							</td>
       
   241 
       
   242 							<td colspan="2">
       
   243 								<table border="0" cellpadding="0" cellspacing="0">
       
   244 									<tr>
       
   245 										<td><input type="checkbox" class="checkbox" id="qt_autoplay" name="qt_autoplay" onchange="generatePreview();" /></td>
       
   246 										<td><label for="qt_autoplay">{$lang_media_play}</label></td>
       
   247 									</tr>
       
   248 								</table>
       
   249 							</td>
       
   250 						</tr>
       
   251 
       
   252 						<tr>
       
   253 							<td colspan="2">
       
   254 								<table border="0" cellpadding="0" cellspacing="0">
       
   255 									<tr>
       
   256 										<td><input type="checkbox" class="checkbox" id="qt_cache" name="qt_cache" onchange="generatePreview();" /></td>
       
   257 										<td><label for="qt_cache">{$lang_media_cache}</label></td>
       
   258 									</tr>
       
   259 								</table>
       
   260 							</td>
       
   261 
       
   262 							<td colspan="2">
       
   263 								<table border="0" cellpadding="0" cellspacing="0">
       
   264 									<tr>
       
   265 										<td><input type="checkbox" class="checkbox" id="qt_controller" name="qt_controller" checked="checked" onchange="generatePreview();" /></td>
       
   266 										<td><label for="qt_controller">{$lang_media_controller}</label></td>
       
   267 									</tr>
       
   268 								</table>
       
   269 							</td>
       
   270 						</tr>
       
   271 
       
   272 						<tr>
       
   273 							<td colspan="2">
       
   274 								<table border="0" cellpadding="0" cellspacing="0">
       
   275 									<tr>
       
   276 										<td><input type="checkbox" class="checkbox" id="qt_correction" name="qt_correction" onchange="generatePreview();" /></td>
       
   277 										<td><label for="qt_correction">{$lang_media_correction}</label></td>
       
   278 									</tr>
       
   279 								</table>
       
   280 							</td>
       
   281 
       
   282 							<td colspan="2">
       
   283 								<table border="0" cellpadding="0" cellspacing="0">
       
   284 									<tr>
       
   285 										<td><input type="checkbox" class="checkbox" id="qt_enablejavascript" name="qt_enablejavascript" onchange="generatePreview();" /></td>
       
   286 										<td><label for="qt_enablejavascript">{$lang_media_enablejavascript}</label></td>
       
   287 									</tr>
       
   288 								</table>
       
   289 							</td>
       
   290 						</tr>
       
   291 
       
   292 						<tr>
       
   293 							<td colspan="2">
       
   294 								<table border="0" cellpadding="0" cellspacing="0">
       
   295 									<tr>
       
   296 										<td><input type="checkbox" class="checkbox" id="qt_kioskmode" name="qt_kioskmode" onchange="generatePreview();" /></td>
       
   297 										<td><label for="qt_kioskmode">{$lang_media_kioskmode}</label></td>
       
   298 									</tr>
       
   299 								</table>
       
   300 							</td>
       
   301 
       
   302 							<td colspan="2">
       
   303 								<table border="0" cellpadding="0" cellspacing="0">
       
   304 									<tr>
       
   305 										<td><input type="checkbox" class="checkbox" id="qt_autohref" name="qt_autohref" onchange="generatePreview();" /></td>
       
   306 										<td><label for="qt_autohref">{$lang_media_autohref}</label></td>
       
   307 									</tr>
       
   308 								</table>
       
   309 							</td>
       
   310 						</tr>
       
   311 
       
   312 						<tr>
       
   313 							<td colspan="2">
       
   314 								<table border="0" cellpadding="0" cellspacing="0">
       
   315 									<tr>
       
   316 										<td><input type="checkbox" class="checkbox" id="qt_playeveryframe" name="qt_playeveryframe" onchange="generatePreview();" /></td>
       
   317 										<td><label for="qt_playeveryframe">{$lang_media_playeveryframe}</label></td>
       
   318 									</tr>
       
   319 								</table>
       
   320 							</td>
       
   321 
       
   322 							<td colspan="2">
       
   323 								<table border="0" cellpadding="0" cellspacing="0">
       
   324 									<tr>
       
   325 										<td><input type="checkbox" class="checkbox" id="qt_targetcache" name="qt_targetcache" onchange="generatePreview();" /></td>
       
   326 										<td><label for="qt_targetcache">{$lang_media_targetcache}</label></td>
       
   327 									</tr>
       
   328 								</table>
       
   329 							</td>
       
   330 						</tr>
       
   331 
       
   332 						<tr>
       
   333 							<td><label for="qt_scale">{$lang_media_scale}</label></td>
       
   334 							<td><select id="qt_scale" name="qt_scale" class="mceEditableSelect" onchange="generatePreview();">
       
   335 									<option value="">{$lang_not_set}</option> 
       
   336 									<option value="tofit">tofit</option>
       
   337 									<option value="aspect">aspect</option>
       
   338 								</select>
       
   339 							</td>
       
   340 
       
   341 							<td colspan="2">&nbsp;</td>
       
   342 						</tr>
       
   343 
       
   344 						<tr>
       
   345 							<td><label for="qt_starttime">{$lang_media_starttime}</label></td>
       
   346 							<td><input type="text" id="qt_starttime" name="qt_starttime" onchange="generatePreview();" /></td>
       
   347 
       
   348 							<td><label for="qt_endtime">{$lang_media_endtime}</label></td>
       
   349 							<td><input type="text" id="qt_endtime" name="qt_endtime" onchange="generatePreview();" /></td>
       
   350 						</tr>
       
   351 
       
   352 						<tr>
       
   353 							<td><label for="qt_target">{$lang_media_target}</label></td>
       
   354 							<td><input type="text" id="qt_target" name="qt_target" onchange="generatePreview();" /></td>
       
   355 
       
   356 							<td><label for="qt_href">{$lang_media_href}</label></td>
       
   357 							<td><input type="text" id="qt_href" name="qt_href" onchange="generatePreview();" /></td>
       
   358 						</tr>
       
   359 
       
   360 						<tr>
       
   361 							<td><label for="qt_qtsrcchokespeed">{$lang_media_qtsrcchokespeed}</label></td>
       
   362 							<td><input type="text" id="qt_qtsrcchokespeed" name="qt_qtsrcchokespeed" onchange="generatePreview();" /></td>
       
   363 
       
   364 							<td><label for="qt_volume">{$lang_media_volume}</label></td>
       
   365 							<td><input type="text" id="qt_volume" name="qt_volume" onchange="generatePreview();" /></td>
       
   366 						</tr>
       
   367 
       
   368 						<tr>
       
   369 							<td><label for="qt_qtsrc">{$lang_media_qtsrc}</label></td>
       
   370 							<td colspan="4">
       
   371 							<table border="0" cellspacing="0" cellpadding="0">
       
   372 								  <tr>
       
   373 									<td><input type="text" id="qt_qtsrc" name="qt_qtsrc" onchange="generatePreview();" /></td>
       
   374 									<td id="qtsrcfilebrowsercontainer">&nbsp;</td>
       
   375 								  </tr>
       
   376 							</table>
       
   377 							</td>
       
   378 						</tr>
       
   379 					</table>
       
   380 				</fieldset>
       
   381 
       
   382 				<fieldset id="wmp_options">
       
   383 					<legend>{$lang_media_wmp_options}</legend>
       
   384 
       
   385 					<table border="0" cellpadding="4" cellspacing="0">
       
   386 						<tr>
       
   387 							<td colspan="2">
       
   388 								<table border="0" cellpadding="0" cellspacing="0">
       
   389 									<tr>
       
   390 										<td><input type="checkbox" class="checkbox" id="wmp_autostart" name="wmp_autostart" checked="checked" onchange="generatePreview();" /></td>
       
   391 										<td><label for="wmp_autostart">{$lang_media_autostart}</label></td>
       
   392 									</tr>
       
   393 								</table>
       
   394 							</td>
       
   395 
       
   396 							<td colspan="2">
       
   397 								<table border="0" cellpadding="0" cellspacing="0">
       
   398 									<tr>
       
   399 										<td><input type="checkbox" class="checkbox" id="wmp_enabled" name="wmp_enabled" onchange="generatePreview();" /></td>
       
   400 										<td><label for="wmp_enabled">{$lang_media_enabled}</label></td>
       
   401 									</tr>
       
   402 								</table>
       
   403 							</td>
       
   404 						</tr>
       
   405 
       
   406 						<tr>
       
   407 							<td colspan="2">
       
   408 								<table border="0" cellpadding="0" cellspacing="0">
       
   409 									<tr>
       
   410 										<td><input type="checkbox" class="checkbox" id="wmp_enablecontextmenu" name="wmp_enablecontextmenu" checked="checked" onchange="generatePreview();" /></td>
       
   411 										<td><label for="wmp_enablecontextmenu">{$lang_media_menu}</label></td>
       
   412 									</tr>
       
   413 								</table>
       
   414 							</td>
       
   415 
       
   416 							<td colspan="2">
       
   417 								<table border="0" cellpadding="0" cellspacing="0">
       
   418 									<tr>
       
   419 										<td><input type="checkbox" class="checkbox" id="wmp_fullscreen" name="wmp_fullscreen" onchange="generatePreview();" /></td>
       
   420 										<td><label for="wmp_fullscreen">{$lang_media_fullscreen}</label></td>
       
   421 									</tr>
       
   422 								</table>
       
   423 							</td>
       
   424 						</tr>
       
   425 
       
   426 						<tr>
       
   427 							<td colspan="2">
       
   428 								<table border="0" cellpadding="0" cellspacing="0">
       
   429 									<tr>
       
   430 										<td><input type="checkbox" class="checkbox" id="wmp_invokeurls" name="wmp_invokeurls" checked="checked" onchange="generatePreview();" /></td>
       
   431 										<td><label for="wmp_invokeurls">{$lang_media_invokeurls}</label></td>
       
   432 									</tr>
       
   433 								</table>
       
   434 							</td>
       
   435 
       
   436 							<td colspan="2">
       
   437 								<table border="0" cellpadding="0" cellspacing="0">
       
   438 									<tr>
       
   439 										<td><input type="checkbox" class="checkbox" id="wmp_mute" name="wmp_mute" onchange="generatePreview();" /></td>
       
   440 										<td><label for="wmp_mute">{$lang_media_mute}</label></td>
       
   441 									</tr>
       
   442 								</table>
       
   443 							</td>
       
   444 						</tr>
       
   445 
       
   446 						<tr>
       
   447 							<td colspan="2">
       
   448 								<table border="0" cellpadding="0" cellspacing="0">
       
   449 									<tr>
       
   450 										<td><input type="checkbox" class="checkbox" id="wmp_stretchtofit" name="wmp_stretchtofit" onchange="generatePreview();" /></td>
       
   451 										<td><label for="wmp_stretchtofit">{$lang_media_stretchtofit}</label></td>
       
   452 									</tr>
       
   453 								</table>
       
   454 							</td>
       
   455 
       
   456 							<td colspan="2">
       
   457 								<table border="0" cellpadding="0" cellspacing="0">
       
   458 									<tr>
       
   459 										<td><input type="checkbox" class="checkbox" id="wmp_windowlessvideo" name="wmp_windowlessvideo" onchange="generatePreview();" /></td>
       
   460 										<td><label for="wmp_windowlessvideo">{$lang_media_windowlessvideo}</label></td>
       
   461 									</tr>
       
   462 								</table>
       
   463 							</td>
       
   464 						</tr>
       
   465 
       
   466 						<tr>
       
   467 							<td><label for="wmp_balance">{$lang_media_balance}</label></td>
       
   468 							<td><input type="text" id="wmp_balance" name="wmp_balance" onchange="generatePreview();" /></td>
       
   469 
       
   470 							<td><label for="wmp_baseurl">{$lang_media_baseurl}</label></td>
       
   471 							<td><input type="text" id="wmp_baseurl" name="wmp_baseurl" onchange="generatePreview();" /></td>
       
   472 						</tr>
       
   473 
       
   474 						<tr>
       
   475 							<td><label for="wmp_captioningid">{$lang_media_captioningid}</label></td>
       
   476 							<td><input type="text" id="wmp_captioningid" name="wmp_captioningid" onchange="generatePreview();" /></td>
       
   477 
       
   478 							<td><label for="wmp_currentmarker">{$lang_media_currentmarker}</label></td>
       
   479 							<td><input type="text" id="wmp_currentmarker" name="wmp_currentmarker" onchange="generatePreview();" /></td>
       
   480 						</tr>
       
   481 
       
   482 						<tr>
       
   483 							<td><label for="wmp_currentposition">{$lang_media_currentposition}</label></td>
       
   484 							<td><input type="text" id="wmp_currentposition" name="wmp_currentposition" onchange="generatePreview();" /></td>
       
   485 
       
   486 							<td><label for="wmp_defaultframe">{$lang_media_defaultframe}</label></td>
       
   487 							<td><input type="text" id="wmp_defaultframe" name="wmp_defaultframe" onchange="generatePreview();" /></td>
       
   488 						</tr>
       
   489 
       
   490 						<tr>
       
   491 							<td><label for="wmp_playcount">{$lang_media_playcount}</label></td>
       
   492 							<td><input type="text" id="wmp_playcount" name="wmp_playcount" onchange="generatePreview();" /></td>
       
   493 
       
   494 							<td><label for="wmp_rate">{$lang_media_rate}</label></td>
       
   495 							<td><input type="text" id="wmp_rate" name="wmp_rate" onchange="generatePreview();" /></td>
       
   496 						</tr>
       
   497 
       
   498 						<tr>
       
   499 							<td><label for="wmp_uimode">{$lang_media_uimode}</label></td>
       
   500 							<td><input type="text" id="wmp_uimode" name="wmp_uimode" onchange="generatePreview();" /></td>
       
   501 
       
   502 							<td><label for="wmp_volume">{$lang_media_volume}</label></td>
       
   503 							<td><input type="text" id="wmp_volume" name="wmp_volume" onchange="generatePreview();" /></td>
       
   504 						</tr>
       
   505 
       
   506 					</table>
       
   507 				</fieldset>
       
   508 
       
   509 				<fieldset id="rmp_options">
       
   510 					<legend>{$lang_media_rmp_options}</legend>
       
   511 
       
   512 					<table border="0" cellpadding="4" cellspacing="0">
       
   513 						<tr>
       
   514 							<td colspan="2">
       
   515 								<table border="0" cellpadding="0" cellspacing="0">
       
   516 									<tr>
       
   517 										<td><input type="checkbox" class="checkbox" id="rmp_autostart" name="rmp_autostart" onchange="generatePreview();" /></td>
       
   518 										<td><label for="rmp_autostart">{$lang_media_autostart}</label></td>
       
   519 									</tr>
       
   520 								</table>
       
   521 							</td>
       
   522 
       
   523 							<td colspan="2">
       
   524 								<table border="0" cellpadding="0" cellspacing="0">
       
   525 									<tr>
       
   526 										<td><input type="checkbox" class="checkbox" id="rmp_loop" name="rmp_loop" onchange="generatePreview();" /></td>
       
   527 										<td><label for="rmp_loop">{$lang_media_loop}</label></td>
       
   528 									</tr>
       
   529 								</table>
       
   530 							</td>
       
   531 						</tr>
       
   532 
       
   533 						<tr>
       
   534 							<td colspan="2">
       
   535 								<table border="0" cellpadding="0" cellspacing="0">
       
   536 									<tr>
       
   537 										<td><input type="checkbox" class="checkbox" id="rmp_autogotourl" name="rmp_autogotourl" checked="checked" onchange="generatePreview();" /></td>
       
   538 										<td><label for="rmp_autogotourl">{$lang_media_autogotourl}</label></td>
       
   539 									</tr>
       
   540 								</table>
       
   541 							</td>
       
   542 
       
   543 							<td colspan="2">
       
   544 								<table border="0" cellpadding="0" cellspacing="0">
       
   545 									<tr>
       
   546 										<td><input type="checkbox" class="checkbox" id="rmp_center" name="rmp_center" onchange="generatePreview();" /></td>
       
   547 										<td><label for="rmp_center">{$lang_media_center}</label></td>
       
   548 									</tr>
       
   549 								</table>
       
   550 							</td>
       
   551 						</tr>
       
   552 
       
   553 						<tr>
       
   554 							<td colspan="2">
       
   555 								<table border="0" cellpadding="0" cellspacing="0">
       
   556 									<tr>
       
   557 										<td><input type="checkbox" class="checkbox" id="rmp_imagestatus" name="rmp_imagestatus" checked="checked" onchange="generatePreview();" /></td>
       
   558 										<td><label for="rmp_imagestatus">{$lang_media_imagestatus}</label></td>
       
   559 									</tr>
       
   560 								</table>
       
   561 							</td>
       
   562 
       
   563 							<td colspan="2">
       
   564 								<table border="0" cellpadding="0" cellspacing="0">
       
   565 									<tr>
       
   566 										<td><input type="checkbox" class="checkbox" id="rmp_maintainaspect" name="rmp_maintainaspect" onchange="generatePreview();" /></td>
       
   567 										<td><label for="rmp_maintainaspect">{$lang_media_maintainaspect}</label></td>
       
   568 									</tr>
       
   569 								</table>
       
   570 							</td>
       
   571 						</tr>
       
   572 
       
   573 						<tr>
       
   574 							<td colspan="2">
       
   575 								<table border="0" cellpadding="0" cellspacing="0">
       
   576 									<tr>
       
   577 										<td><input type="checkbox" class="checkbox" id="rmp_nojava" name="rmp_nojava" onchange="generatePreview();" /></td>
       
   578 										<td><label for="rmp_nojava">{$lang_media_nojava}</label></td>
       
   579 									</tr>
       
   580 								</table>
       
   581 							</td>
       
   582 
       
   583 							<td colspan="2">
       
   584 								<table border="0" cellpadding="0" cellspacing="0">
       
   585 									<tr>
       
   586 										<td><input type="checkbox" class="checkbox" id="rmp_prefetch" name="rmp_prefetch" onchange="generatePreview();" /></td>
       
   587 										<td><label for="rmp_prefetch">{$lang_media_prefetch}</label></td>
       
   588 									</tr>
       
   589 								</table>
       
   590 							</td>
       
   591 						</tr>
       
   592 
       
   593 						<tr>
       
   594 							<td colspan="2">
       
   595 								<table border="0" cellpadding="0" cellspacing="0">
       
   596 									<tr>
       
   597 										<td><input type="checkbox" class="checkbox" id="rmp_shuffle" name="rmp_shuffle" onchange="generatePreview();" /></td>
       
   598 										<td><label for="rmp_shuffle">{$lang_media_shuffle}</label></td>
       
   599 									</tr>
       
   600 								</table>
       
   601 							</td>
       
   602 
       
   603 							<td colspan="2">
       
   604 								&nbsp;
       
   605 							</td>
       
   606 						</tr>
       
   607 
       
   608 						<tr>
       
   609 							<td><label for="rmp_console">{$lang_media_console}</label></td>
       
   610 							<td><input type="text" id="rmp_console" name="rmp_console" onchange="generatePreview();" /></td>
       
   611 
       
   612 							<td><label for="rmp_controls">{$lang_media_controls}</label></td>
       
   613 							<td><input type="text" id="rmp_controls" name="rmp_controls" onchange="generatePreview();" /></td>
       
   614 						</tr>
       
   615 
       
   616 						<tr>
       
   617 							<td><label for="rmp_numloop">{$lang_media_numloop}</label></td>
       
   618 							<td><input type="text" id="rmp_numloop" name="rmp_numloop" onchange="generatePreview();" /></td>
       
   619 
       
   620 							<td><label for="rmp_scriptcallbacks">{$lang_media_scriptcallbacks}</label></td>
       
   621 							<td><input type="text" id="rmp_scriptcallbacks" name="rmp_scriptcallbacks" onchange="generatePreview();" /></td>
       
   622 						</tr>
       
   623 					</table>
       
   624 				</fieldset>
       
   625 
       
   626 				<fieldset id="shockwave_options">
       
   627 					<legend>{$lang_media_shockwave_options}</legend>
       
   628 
       
   629 					<table border="0" cellpadding="4" cellspacing="0">
       
   630 						<tr>
       
   631 							<td><label for="shockwave_swstretchstyle">{$lang_media_swstretchstyle}</label></td>
       
   632 							<td>
       
   633 								<select id="shockwave_swstretchstyle" name="shockwave_swstretchstyle" onchange="generatePreview();">
       
   634 									<option value="none">{$lang_not_set}</option>
       
   635 									<option value="meet">Meet</option>
       
   636 									<option value="fill">Fill</option>
       
   637 									<option value="stage">Stage</option>
       
   638 								</select>
       
   639 							</td>
       
   640 
       
   641 							<td><label for="shockwave_swvolume">{$lang_media_volume}</label></td>
       
   642 							<td><input type="text" id="shockwave_swvolume" name="shockwave_swvolume" onchange="generatePreview();" /></td>
       
   643 						</tr>
       
   644 
       
   645 						<tr>
       
   646 							<td><label for="shockwave_swstretchhalign">{$lang_media_swstretchhalign}</label></td>
       
   647 							<td>
       
   648 								<select id="shockwave_swstretchhalign" name="shockwave_swstretchhalign" onchange="generatePreview();">
       
   649 									<option value="none">{$lang_not_set}</option>
       
   650 									<option value="left">{$lang_media_align_left}</option>
       
   651 									<option value="center">{$lang_media_align_center}</option>
       
   652 									<option value="right">{$lang_media_align_right}</option>
       
   653 								</select>
       
   654 							</td>
       
   655 
       
   656 							<td><label for="shockwave_swstretchvalign">{$lang_media_swstretchvalign}</label></td>
       
   657 							<td>
       
   658 								<select id="shockwave_swstretchvalign" name="shockwave_swstretchvalign" onchange="generatePreview();">
       
   659 									<option value="none">{$lang_not_set}</option>
       
   660 									<option value="meet">Meet</option>
       
   661 									<option value="fill">Fill</option>
       
   662 									<option value="stage">Stage</option>
       
   663 								</select>
       
   664 							</td>
       
   665 						</tr>
       
   666 
       
   667 						<tr>
       
   668 							<td colspan="2">
       
   669 								<table border="0" cellpadding="0" cellspacing="0">
       
   670 									<tr>
       
   671 										<td><input type="checkbox" class="checkbox" id="shockwave_autostart" name="shockwave_autostart" onchange="generatePreview();" checked="checked" /></td>
       
   672 										<td><label for="shockwave_autostart">{$lang_media_autostart}</label></td>
       
   673 									</tr>
       
   674 								</table>
       
   675 							</td>
       
   676 
       
   677 							<td colspan="2">
       
   678 								<table border="0" cellpadding="0" cellspacing="0">
       
   679 									<tr>
       
   680 										<td><input type="checkbox" class="checkbox" id="shockwave_sound" name="shockwave_sound" onchange="generatePreview();" checked="checked" /></td>
       
   681 										<td><label for="shockwave_sound">{$lang_media_sound}</label></td>
       
   682 									</tr>
       
   683 								</table>
       
   684 							</td>
       
   685 						</tr>
       
   686 
       
   687 
       
   688 						<tr>
       
   689 							<td colspan="2">
       
   690 								<table border="0" cellpadding="0" cellspacing="0">
       
   691 									<tr>
       
   692 										<td><input type="checkbox" class="checkbox" id="shockwave_swliveconnect" name="shockwave_swliveconnect" onchange="generatePreview();" /></td>
       
   693 										<td><label for="shockwave_swliveconnect">{$lang_media_liveconnect}</label></td>
       
   694 									</tr>
       
   695 								</table>
       
   696 							</td>
       
   697 
       
   698 							<td colspan="2">
       
   699 								<table border="0" cellpadding="0" cellspacing="0">
       
   700 									<tr>
       
   701 										<td><input type="checkbox" class="checkbox" id="shockwave_progress" name="shockwave_progress" onchange="generatePreview();" checked="checked" /></td>
       
   702 										<td><label for="shockwave_progress">{$lang_media_progress}</label></td>
       
   703 									</tr>
       
   704 								</table>
       
   705 							</td>
       
   706 						</tr>
       
   707 					</table>
       
   708 				</fieldset>
       
   709 			</div>
       
   710 		</div>
       
   711 
       
   712 		<div class="mceActionPanel">
       
   713 			<div style="float: left">
       
   714 				<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertMedia();" />
       
   715 			</div>
       
   716 
       
   717 			<div style="float: right">
       
   718 				<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
       
   719 			</div>
       
   720 		</div>
       
   721 	</form>
       
   722 </body>
       
   723 </html>