Changeset 3054
- Timestamp:
- 06/05/11 16:47:53 (12 years ago)
- Location:
- plugins/flvplayerconfig/trunk
- Files:
-
- 49 added
- 4 deleted
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/flvplayerconfig/trunk/CHANGELOG
r2890 r3054 1 flvPlayerConfig 1.6 - 2011-01-16 1 flvplayerconfig 1.7 - 2011-06-05 2 =========================================================== 3 * Compatible 2.3.0 4 * Réécriture des formulaires similaire au formulaire 2.3.0 5 * Traduction complète 6 * Ajout d'un sélecteur de couleur jQuery 7 * Rafraichissement automatique de l'aperçu de la vidéo dans le popup. 8 * Ajout d'un bouton annuler 9 * La transformation en code flash ce fait à l'affichage, et plus à l'enregistrement 10 * Correction pour que les changements fait dans la page de configuration, s'applique aussi au vidéo déjà ajouté. 11 12 flvplayerconfig 1.6 - 2011-01-18 2 13 =========================================================== 3 14 * Activation dans la page d'administration du blog 4 * nouveauté dans l'intégration du flv 5 il faut finir les lignes par des ; 15 * Nouveauté dans l'intégration du flv, il faut finir les lignes par des ; 6 16 * Correction de deux gros bug 17 * Insertion automatique de la balise 18 19 flvplayerconfig 1.5.1 - 2010-09-24 20 =========================================================== 21 * Complément du formulaire 22 * Début de balise 23 24 flvplayerconfig 1.2 - 2010-07-30 25 =========================================================== 26 * Grosse mise à jour des 61 paramêtres configurable du player 27 * Apercu 28 29 flvplayerconfig 1.1 - 2010-07-30 30 =========================================================== 31 * Correction de l'installation 32 33 flvplayerconfig 1 - 2010-07-26 34 =========================================================== 35 * Création de flvplayer_config -
plugins/flvplayerconfig/trunk/_admin.php
r2890 r3054 30 30 $core->addBehavior('adminRelatedHeaders',array('dcflvplayerconfig','jsLoad')); 31 31 $core->addBehavior('adminDashboardHeaders',array('dcflvplayerconfig','jsLoad')); 32 33 $core->addBehavior('coreAfterPostContentFormat',array('dcflvplayerconfig','flvPlayerConfig')); 32 33 # remplacement suite au passage dans le traducteur Wiki 34 $core->addBehavior('coreAfterPostContentFormat',array('dcflvplayerconfig','coreAfterPostContentFormat')); 34 35 35 36 } -
plugins/flvplayerconfig/trunk/_define.php
r2890 r3054 3 3 # This file is part of flvplayerconfig, a plugin for Dotclear 2. 4 4 # 5 # Copyright (c) 201 0lipki and contributors5 # Copyright (c) 2011 lipki and contributors 6 6 # kevin@lepeltier.info 7 7 # … … 10 10 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 11 11 # -- END LICENSE BLOCK ------------------------------------ 12 13 if (!defined('DC_RC_PATH')) { return; } 14 /** 15 * @author kévin lepeltier [lipki] (kevin@lepeltier.info) 16 * @license http://creativecommons.org/licenses/by-sa/3.0/deed.fr 17 */ 12 18 13 19 $this->registerModule( 14 /* Name */ 15 /* Description*/ " configures flvplayer",16 /* Author */ 17 /* Version */ '1.6',20 /* Name */ "flvplayerconfig", 21 /* Description*/ "Configures flvplayer. A activer dans Paramètres du blog.", 22 /* Author */ "kévin Lepeltier [lipki]", 23 /* Version */ '1.7', 18 24 /* Permissions */ 'admin,usage,contentadmin' 19 25 ); -
plugins/flvplayerconfig/trunk/form.php
r2890 r3054 3 3 # This file is part of flvplayerconfig, a plugin for Dotclear 2. 4 4 # 5 # Copyright (c) 201 0lipki and contributors5 # Copyright (c) 2011 lipki and contributors 6 6 # kevin@lepeltier.info 7 7 # … … 14 14 if (isset($_REQUEST['tab'])) 15 15 $default_tab = $_REQUEST['tab']; 16 16 17 17 $popup = (integer) !empty($_GET['popup']); 18 18 19 19 if( $popup ) 20 20 $default_tab = ''; 21 22 21 23 22 $fileid = $_GET['id']; 24 23 … … 29 28 } else 30 29 $flv = 'http://dotclear.toopi.info./public/3d_divers/D2D2_1.flv'; 31 32 33 34 30 35 31 if (!empty($_POST['saveconfig'])) { … … 106 102 $args = unserialize($core->blog->settings->themes->flvplayer_style); 107 103 108 109 104 foreach( $args as $key => $val ) 110 105 $FlashVars[] = $key.'='.$val; … … 112 107 $FlashVars[] = 'flv='.$flv; 113 108 $FlashVars = implode( '&', $FlashVars); 114 115 116 109 117 110 if( !isset($args['title']) ) $args['title'] = ""; … … 177 170 if( !isset($args['showtitleandstartimage']) ) $args['showtitleandstartimage'] = 0; 178 171 179 180 181 172 if (isset($_GET['saveconfig'])) 182 173 $msg .= __('Configuration successfully updated.'); 183 184 185 186 174 187 175 ?> 188 176 <html> 189 177 <head> 190 <title><?php echo(__('FLV Player Config')); ?></title> 178 <title><?php echo __('FLV Player Config'); ?></title> 179 <link rel="stylesheet" media="screen" type="text/css" href="index.php?pf=flvplayerconfig/js/colorpicker/css/colorpicker.css" /> 180 <link rel="stylesheet" media="screen" type="text/css" href="index.php?pf=flvplayerconfig/style.css" /> 191 181 <?php echo dcPage::jsPageTabs($default_tab); ?> 192 <?php echo dcPage::jsLoad('index.php?pf=flvplayerconfig/js/generator.js'); ?>193 182 <?php if( $popup ) { echo dcPage::jsLoad('index.php?pf=flvplayerconfig/js/popup.js'); } ?> 194 <link rel="stylesheet" href="index.php?pf=flvplayerconfig/style.css" type="text/css" /> 183 <?php echo dcPage::jsLoad('index.php?pf=flvplayerconfig/js/colorpicker/js/colorpicker.js'); ?> 184 <?php echo dcPage::jsLoad('index.php?pf=flvplayerconfig/js/form.js'); ?> 195 185 </head> 196 186 <body> 197 187 198 188 <h2><?php echo html::escapeHTML($core->blog->name).' › '.__('FLV Player Config'); ?></h2> 199 189 … … 208 198 </object> 209 199 </div> 210 211 212 <div id="generator"> 213 214 <form id="flvplayerconfig-insert-form" method="post" action="<?php echo($p_url); ?>"> 215 <?php echo $core->formNonce(); ?> 200 201 <form id="flvplayerconfig-insert-form" method="post" action="<?php echo($p_url); ?>"> 202 216 203 204 <p class="clear"> 205 <?php echo $core->formNonce(); ?> 206 <input id="flv" type="hidden" value="<?php echo $flv; ?>"/> 207 <?php if( !$popup ) { ?> 208 <input type="submit" tabindex="33" name="saveconfig" accesskey="s" value="<?php echo __('OK'); ?>" /> 209 <?php } else { ?> 210 <a href="#" class="button" id="flvplayerconfig-cancel"><?php echo __('Undo'); ?></a> - 211 <a href="#" class="button" id="flvplayerconfig-preview"><?php echo __('Preview'); ?></a> - 212 <strong><a href="#" class="button" id="flvplayerconfig-ok"><?php echo __('OK'); ?></a></strong> 213 <?php } ?> 214 </p> 215 217 216 <?php if( $popup ) { ?> 217 218 <div class="multi-part" id="rapide" title="<?php echo __('Fast'); ?>" > 219 <div class="two-cols"> 220 <div class="col"> 221 <fieldset> 222 <legend><?php echo __('Video size'); ?></legend> 223 <p><label for="width"><?php echo __('Width'); ?> : 224 <input type="text" value="<?php echo $args['width']; ?>" class="int" name="width" id="width"> 225 </label></p> 226 <p><label for="height"><?php echo __('Height'); ?> : 227 <input type="text" value="<?php echo $args['height']; ?>" class="int" name="height" id="height"> 228 </label></p> 229 <br class="clear"> 230 </fieldset> 231 </div> 232 <div class="col"> 233 <fieldset> 234 <legend><?php echo __('Disposition'); ?></legend> 235 <p><label for="align"><?php echo __('Disposition'); ?> : 236 <select id="align" name="align"> 237 <option <?php echo $args['align']=="none"? 'selected="selected"':''; ?> value="none"><?php echo __('None'); ?></option> 238 <option <?php echo $args['align']=="left"? 'selected="selected"':''; ?> value="left"><?php echo __('Left'); ?></option> 239 <option <?php echo $args['align']=="right"? 'selected="selected"':''; ?> value="right"><?php echo __('Right'); ?></option> 240 <option <?php echo $args['align']=="center"? 'selected="selected"':''; ?> value="center"><?php echo __('Center'); ?></option> 241 </select> 242 </label></p> 243 <br class="clear"> 244 </fieldset> 245 </div> 246 </div> 247 </div> 218 248 219 <input id="flv" type="hidden" value="<?php echo $flv; ?>"/>220 221 <div class="multi-part" id="rapide" title="<?php echo __('Rapide'); ?>" >222 223 <h3><?php echo __('Video size'); ?></h3>224 <table class="visible" summary="<?php echo __('Video size'); ?>">225 <tbody>226 <tr><td class="name"><label for="width">width</label></td>227 <td class="value"><input type="text" value="<?php echo $args['width']; ?>" class="int" name="width" id="width"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'Forcer la largeur du lecteur')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr>228 <tr><td class="name"><label for="height">height</label></td>229 <td class="value"><input type="text" value="<?php echo $args['height']; ?>" class="int" name="height" id="height"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'Forcer la hauteur du lecteur')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr>230 </tbody>231 </table>232 233 <h3><?php echo __('Video disposition'); ?></h3>234 <table class="visible" summary="<?php echo __('Video disposition'); ?>">235 <tbody>236 <tr><td class="name"><label for="align"></label></td>237 <td class="value"><select id="align" name="align">238 <option <?php echo $args['align']=="none"? 'selected="selected"':''; ?> value="none">None</option>239 <option <?php echo $args['align']=="left"? 'selected="selected"':''; ?> value="left">Left</option>240 <option <?php echo $args['align']=="right"? 'selected="selected"':''; ?> value="right">Right</option>241 <option <?php echo $args['align']=="center"? 'selected="selected"':''; ?> value="center">Center</option>242 </select><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'L\'alignement de la video.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr>243 </tbody>244 </table>245 </div>246 247 <?php } ?>248 249 <div class="multi-part" id="generale" title="<?php echo __('Générale'); ?>" >250 <table class="visible" summary="Générale">251 <thead>252 <tr><th>Name</th><th>Value</th><th>Actions</th></tr>253 </thead>254 <tbody>255 <tr><td class="name"><label for="title">title</label></td>256 <td class="value"><input type="text" value="<?php echo $args['text']; ?>" class="text" name="text" id="text"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'Le titre affiché avant le chargement de la vidéo')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr>257 <tr><td class="name"><label for="startimage">startimage</label></td>258 <td class="value"><input type="text" value="<?php echo $args['startimage']; ?>" class="url" name="startimage" id="startimage"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'L\'URL du fichier JPEG (non progressif) à afficher avant le chargement de la vidéo')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr>259 260 261 <?php if( !$popup ) { ?>262 <tr><td class="name"><label for="width">width</label></td>263 <td class="value"><input type="text" value="<?php echo $args['width']; ?>" class="int" name="width" id="width"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'Forcer la largeur du lecteur')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr>264 <tr><td class="name"><label for="height">height</label></td>265 <td class="value"><input type="text" value="<?php echo $args['height']; ?>" class="int" name="height" id="height"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'Forcer la hauteur du lecteur')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr>266 <tr><td class="name"><label for="align">Alignement</label></td>267 <td class="value"><select id="align" name="align">268 <option <?php echo $args['align']=="none"? 'selected="selected"':''; ?> value="none">None</option>269 <option <?php echo $args['align']=="left"? 'selected="selected"':''; ?> value="left">Left</option>270 <option <?php echo $args['align']=="right"? 'selected="selected"':''; ?> value="right">Right</option>271 <option <?php echo $args['align']=="center"? 'selected="selected"':''; ?> value="center">Center</option>272 </select><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'L\'alignement de la video.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr>273 249 <?php } ?> 274 250 275 <tr><td class="name"><label for="loop">loop</label></td> 276 <td class="value"><input name="loop" id="loop" type="checkbox" <?php echo $args['loop']? 'checked="checked"':''; ?>/></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, '<code>1</code> pour boucler')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 277 <tr><td class="name"><label for="autoplay">autoplay</label></td> 278 <td class="value"><input name="autoplay" id="autoplay" type="checkbox" <?php echo $args['autoplay']? 'checked="checked"':''; ?>/></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, '<code>1</code> pour lire automatiquement')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 279 <tr><td class="name"><label for="autoload">autoload</label></td> 280 <td class="value"><input name="autoload" id="autoload" type="checkbox" <?php echo $args['autoload']? 'checked="checked"':''; ?>/></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, '<code>1</code> pour lancer le chargement et afficher la première image de la vidéo')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 281 <tr><td class="name"><label for="volume">volume</label></td> 282 <td class="value"><select id="volume" name="volume"> 283 <option <?php echo $args['volume']==0? 'selected="selected"':''; ?> value="0">0</option> 284 <option <?php echo $args['volume']==25? 'selected="selected"':''; ?> value="25">25</option> 285 <option <?php echo $args['volume']==50? 'selected="selected"':''; ?> value="50">50</option> 286 <option <?php echo $args['volume']==75? 'selected="selected"':''; ?> value="75">75</option> 287 <option <?php echo $args['volume']==100? 'selected="selected"':''; ?> value="100">100</option> 288 <option <?php echo $args['volume']==125? 'selected="selected"':''; ?> value="125">125</option> 289 <option <?php echo $args['volume']==150? 'selected="selected"':''; ?> value="150">150</option> 290 <option <?php echo $args['volume']==175? 'selected="selected"':''; ?> value="175">175</option> 291 <option <?php echo $args['volume']==200? 'selected="selected"':''; ?> value="200">200</option> 292 </select><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'Le volume initial, entre <code>0</code> et <code>200</code>.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 293 </tbody> 294 </table> 295 <br/> 296 <h3><?php echo __('Divers'); ?></h3> 297 <table class="visible" summary="Divers"> 298 <thead> 299 <tr><th>Name</th><th>Value</th><th>Actions</th></tr> 300 </thead> 301 <tbody> 302 <tr><td class="name"><label for="showmouse">showmouse</label></td> 303 <td class="value"><select id="showmouse" name="showmouse"> 304 <option <?php echo $args['showmouse']=='autohide'? 'selected="selected"':''; ?> value="autohide">autohide</option> 305 <option <?php echo $args['showmouse']=='always'? 'selected="selected"':''; ?> value="always">always</option> 306 <option <?php echo $args['showmouse']=='never'? 'selected="selected"':''; ?> value="never">never</option> 307 </select></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'Affichage de la souris : <code>always</code>, <code>autohide</code>, <code>never</code>.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 308 <tr><td class="name"><label for="videobgcolor">videobgcolor</label></td> 309 <td class="value"><input type="text" value="<?php echo $args['videobgcolor']; ?>" class="color" name="videobgcolor" id="videobgcolor"></td><td class="actions"><a href="javascript:void(0)" onclick="colorpicker.show(this, 'videobgcolor')"><img src="index.php?pf=flvplayerconfig/color_wheel.png" alt="Colopicker"></a> <a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La couleur du fond de la vidéo quand il n\'y a pas de vidéo.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 310 <tr><td class="name"><label for="loadonstop">loadonstop</label></td> 311 <td class="value"><input name="loadonstop" id="loadonstop" type="checkbox" <?php echo $args['loadonstop']? 'checked="checked"':''; ?>/></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, '<code>0</code> pour arrêter le chargement de la vidéo au STOP')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 312 <tr><td class="name"><label for="phpstream">phpstream</label></td> 313 <td class="value"><input name="phpstream" id="phpstream" type="checkbox" <?php echo $args['phpstream']? 'checked="checked"':''; ?>/></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, '<code>1</code> pour utiliser un streaming php')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 314 <tr><td class="name"><label for="shortcut">shortcut</label></td> 315 <td class="value"><input name="shortcut" id="shortcut" type="checkbox" <?php echo $args['shortcut']? 'checked="checked"':''; ?>/></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, '<code>0</code> pour désactiver les raccourcis clavier.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 316 <tr><td class="name"><label for="netconnection">netconnection</label></td> 317 <td class="value"><input type="text" value="<?php echo $args['netconnection']; ?>" class="text" name="netconnection" id="netconnection"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'L\'URL du serveur RTMP')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 318 <tr><td class="name"><label for="showtitleandstartimage">showtitleandstartimage</label></td> 319 <td class="value"><input name="showtitleandstartimage" id="showtitleandstartimage" type="checkbox" <?php echo $args['showtitleandstartimage']? 'checked="checked"':''; ?>/></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, '<code>1</code> pour afficher le titre et l\'image de départ en même temps.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 320 </tbody> 321 </table> 322 </div> 323 324 <div class="multi-part" id="bordure" title="<?php echo __('Bordure'); ?>" > 325 <table class="hidden" summary="Bordure"> 326 <thead> 327 <tr><th>Name</th><th>Value</th><th>Actions</th></tr> 328 </thead> 329 <tbody> 330 <tr><td class="name"><label for="skin">skin</label></td> 331 <td class="value"><input type="text" value="<?php echo $args['skin']; ?>" class="url" name="skin" id="skin"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'L\'URL du fichier JPEG (non progressif) à charger')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 332 <tr><td class="name"><label for="margin">margin</label></td> 333 <td class="value"><input type="text" value="<?php echo $args['margin']; ?>" class="int" name="margin" id="margin"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La marge de la vidéo par rapport au Flash (utile pour les skins)')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 334 <tr><td class="name"><label for="bgcolor">bgcolor</label></td> 335 <td class="value"><input type="text" value="<?php echo $args['bgcolor']; ?>" class="color" name="bgcolor" id="bgcolor"></td><td class="actions"><a href="javascript:void(0)" onclick="colorpicker.show(this, 'bgcolor')"><img src="index.php?pf=flvplayerconfig/color_wheel.png" alt="Colopicker"></a> <a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La couleur de fond')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 336 <tr><td class="name"><label for="bgcolor1">bgcolor1</label></td> 337 <td class="value"><input type="text" value="<?php echo $args['bgcolor1']; ?>" class="color" name="bgcolor1" id="bgcolor1"></td><td class="actions"><a href="javascript:void(0)" onclick="colorpicker.show(this, 'bgcolor1')"><img src="index.php?pf=flvplayerconfig/color_wheel.png" alt="Colopicker"></a> <a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La première couleur du dégradé du fond')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 338 <tr><td class="name"><label for="bgcolor2">bgcolor2</label></td> 339 <td class="value"><input type="text" value="<?php echo $args['bgcolor2']; ?>" class="color" name="bgcolor2" id="bgcolor2"></td><td class="actions"><a href="javascript:void(0)" onclick="colorpicker.show(this, 'bgcolor2')"><img src="index.php?pf=flvplayerconfig/color_wheel.png" alt="Colopicker"></a> <a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La seconde couleur du dégradé du fond')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 340 </tbody> 341 </table> 342 </div> 343 344 <div class="multi-part" id="barredecontrole" title="<?php echo __('Barre de contrôle'); ?>" > 345 <table class="hidden" summary="Barre de contrôle"> 346 <thead> 347 <tr><th>Name</th><th>Value</th><th>Actions</th></tr> 348 </thead> 349 <tbody> 350 <tr><td class="name"><label for="showstop">showstop</label></td> 351 <td class="value"><input name="showstop" id="showstop" type="checkbox" <?php echo $args['showstop']? 'checked="checked"':''; ?>/></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, '<code>1</code> pour afficher le bouton STOP')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 352 <tr><td class="name"><label for="showvolume">showvolume</label></td> 353 <td class="value"><input name="showvolume" id="showvolume" type="checkbox" <?php echo $args['showvolume']? 'checked="checked"':''; ?>/></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, '<code>1</code> pour afficher le bouton VOLUME')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 354 <tr><td class="name"><label for="showtime">showtime</label></td> 355 <td class="value"><select id="showtime" name="showtime"> 356 <option <?php echo $args['showtime']==0? 'selected="selected"':''; ?> value="0">0</option> 357 <option <?php echo $args['showtime']==1? 'selected="selected"':''; ?> value="1">1</option> 358 <option <?php echo $args['showtime']==2? 'selected="selected"':''; ?> value="2">2</option> 359 </select></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, '<code>1</code> pour afficher le bouton TIME, <code>2</code> pour l\'afficher avec le temps restant')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 360 <tr><td class="name"><label for="showplayer">showplayer</label></td> 361 <td class="value"><select id="showplayer" name="showplayer"> 362 <option <?php echo $args['showplayer']=='autohide'? 'selected="selected"':''; ?> value="autohide">autohide</option> 363 <option <?php echo $args['showplayer']=='always'? 'selected="selected"':''; ?> value="always">always</option> 364 <option <?php echo $args['showplayer']=='never'? 'selected="selected"':''; ?> value="never">never</option> 365 </select></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'Affichage de la barre des boutons : <code>autohide</code>, <code>always</code> ou <code>never</code>')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 366 <tr><td class="name"><label for="showloading">showloading</label></td> 367 <td class="value"><select id="showloading" name="showloading"> 368 <option <?php echo $args['showloading']=='autohide'? 'selected="selected"':''; ?> value="autohide">autohide</option> 369 <option <?php echo $args['showloading']=='always'? 'selected="selected"':''; ?> value="always">always</option> 370 <option <?php echo $args['showloading']=='never'? 'selected="selected"':''; ?> value="never">never</option> 371 </select></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'Affichage du chargement : <code>autohide</code>, <code>always</code> ou <code>never</code>')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 372 <tr><td class="name"><label for="showfullscreen">showfullscreen</label></td> 373 <td class="value"><input name="showfullscreen" id="showfullscreen" type="checkbox" <?php echo $args['showfullscreen']? 'checked="checked"':''; ?>/></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, '<code>1</code> pour afficher le bouton pour le plein écran (nécessite Flash Player 9.0.16.60 ou supérieur)')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 374 <tr><td class="name"><label for="showswitchsubtitles">showswitchsubtitles</label></td> 375 <td class="value"><input name="showswitchsubtitles" id="showswitchsubtitles" type="checkbox" <?php echo $args['showswitchsubtitles']? 'checked="checked"':''; ?>/></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, '<code>1</code> pour afficher le bouton qui affiche/cache les sous-titres')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 376 <tr><td class="name"><label for="playertimeout">playertimeout</label></td> 377 <td class="value"><input type="text" value="<?php echo $args['playertimeout']; ?>" class="int" name="playertimeout" id="playertimeout"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'Le délai en milliseconde avant que le lecteur se cache (quand il est en mode <code>autohide</code> bien sûr. Par défaut à <code>1500</code>.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 378 </tbody> 379 </table> 380 <br/> 381 <h3><?php echo __('Couleurs'); ?></h3> 382 <table class="visible" summary="Couleurs"> 383 <thead> 384 <tr><th>Name</th><th>Value</th><th>Actions</th></tr> 385 </thead> 386 <tbody> 387 <tr><td class="name"><label for="playercolor">playercolor</label></td> 388 <td class="value"><input type="text" value="<?php echo $args['playercolor']; ?>" class="color" name="playercolor" id="playercolor"></td><td class="actions"><a href="javascript:void(0)" onclick="colorpicker.show(this, 'playercolor')"><img src="index.php?pf=flvplayerconfig/color_wheel.png" alt="Colopicker"></a> <a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La couleur du lecteur (pas du flash)')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 389 <tr><td class="name"><label for="playeralpha">playeralpha</label></td> 390 <td class="value"><select id="playeralpha" name="playeralpha"> 391 <option <?php echo $args['playeralpha']==0? 'selected="selected"':''; ?> value="0">0</option> 392 <option <?php echo $args['playeralpha']==25? 'selected="selected"':''; ?> value="25">25</option> 393 <option <?php echo $args['playeralpha']==50? 'selected="selected"':''; ?> value="50">50</option> 394 <option <?php echo $args['playeralpha']==75? 'selected="selected"':''; ?> value="75">75</option> 395 <option <?php echo $args['playeralpha']==100? 'selected="selected"':''; ?> value="100">100</option> 396 </select></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La transparence du fond du lecteur entre <code>0</code> et <code>100</code>.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 397 <tr><td class="name"><label for="loadingcolor">loadingcolor</label></td> 398 <td class="value"><input type="text" value="<?php echo $args['loadingcolor']; ?>" class="color" name="loadingcolor" id="loadingcolor"></td><td class="actions"><a href="javascript:void(0)" onclick="colorpicker.show(this, 'loadingcolor')"><img src="index.php?pf=flvplayerconfig/color_wheel.png" alt="Colopicker"></a> <a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La couleur de la barre de chargement')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 399 <tr><td class="name"><label for="buttoncolor">buttoncolor</label></td> 400 <td class="value"><input type="text" value="<?php echo $args['buttoncolor']; ?>" class="color" name="buttoncolor" id="buttoncolor"></td><td class="actions"><a href="javascript:void(0)" onclick="colorpicker.show(this, 'buttoncolor')"><img src="index.php?pf=flvplayerconfig/color_wheel.png" alt="Colopicker"></a> <a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La couleur des boutons')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 401 <tr><td class="name"><label for="buttonovercolor">buttonovercolor</label></td> 402 <td class="value"><input type="text" value="<?php echo $args['buttonovercolor']; ?>" class="color" name="buttonovercolor" id="buttonovercolor"></td><td class="actions"><a href="javascript:void(0)" onclick="colorpicker.show(this, 'buttonovercolor')"><img src="index.php?pf=flvplayerconfig/color_wheel.png" alt="Colopicker"></a> <a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La couleur des boutons au survol')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 403 <tr><td class="name"><label for="slidercolor1">slidercolor1</label></td> 404 <td class="value"><input type="text" value="<?php echo $args['slidercolor1']; ?>" class="color" name="slidercolor1" id="slidercolor1"></td><td class="actions"><a href="javascript:void(0)" onclick="colorpicker.show(this, 'slidercolor1')"><img src="index.php?pf=flvplayerconfig/color_wheel.png" alt="Colopicker"></a> <a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La première couleur du dégradé de la barre')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 405 <tr><td class="name"><label for="slidercolor2">slidercolor2</label></td> 406 <td class="value"><input type="text" value="<?php echo $args['slidercolor2']; ?>" class="color" name="slidercolor2" id="slidercolor2"></td><td class="actions"><a href="javascript:void(0)" onclick="colorpicker.show(this, 'slidercolor2')"><img src="index.php?pf=flvplayerconfig/color_wheel.png" alt="Colopicker"></a> <a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La seconde couleur du dégradé de la barre')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 407 <tr><td class="name"><label for="sliderovercolor">sliderovercolor</label></td> 408 <td class="value"><input type="text" value="<?php echo $args['sliderovercolor']; ?>" class="color" name="sliderovercolor" id="sliderovercolor"></td><td class="actions"><a href="javascript:void(0)" onclick="colorpicker.show(this, 'sliderovercolor')"><img src="index.php?pf=flvplayerconfig/color_wheel.png" alt="Colopicker"></a> <a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La couleur de la barre au survol')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 409 410 </tbody> 411 </table> 412 </div> 413 414 <div class="multi-part" id="titre" title="<?php echo __('Titre'); ?>" > 415 <table class="hidden" summary="Titre"> 416 <thead> 417 <tr><th>Name</th><th>Value</th><th>Actions</th></tr> 418 </thead> 419 <tbody> 420 <tr><td class="name"><label for="titlecolor">titlecolor</label></td> 421 <td class="value"><input type="text" value="<?php echo $args['titlecolor']; ?>" class="color" name="titlecolor" id="titlecolor"></td><td class="actions"><a href="javascript:void(0)" onclick="colorpicker.show(this, 'titlecolor')"><img src="index.php?pf=flvplayerconfig/color_wheel.png" alt="Colopicker"></a> <a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La couleur du titre. Par défaut à <code>ffffff</code>.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 422 <tr><td class="name"><label for="titlesize">titlesize</label></td> 423 <td class="value"><select id="titlesize" name="titlesize"> 424 <option <?php echo $args['titlesize']==8? 'selected="selected"':''; ?> value="8">8</option> 425 <option <?php echo $args['titlesize']==9? 'selected="selected"':''; ?> value="9">9</option> 426 <option <?php echo $args['titlesize']==10? 'selected="selected"':''; ?> value="10">10</option> 427 <option <?php echo $args['titlesize']==11? 'selected="selected"':''; ?> value="11">11</option> 428 <option <?php echo $args['titlesize']==12? 'selected="selected"':''; ?> value="12">12</option> 429 <option <?php echo $args['titlesize']==13? 'selected="selected"':''; ?> value="13">13</option> 430 <option <?php echo $args['titlesize']==14? 'selected="selected"':''; ?> value="14">14</option> 431 <option <?php echo $args['titlesize']==15? 'selected="selected"':''; ?> value="15">15</option> 432 <option <?php echo $args['titlesize']==16? 'selected="selected"':''; ?> value="16">16</option> 433 <option <?php echo $args['titlesize']==17? 'selected="selected"':''; ?> value="17">17</option> 434 <option <?php echo $args['titlesize']==18? 'selected="selected"':''; ?> value="18">18</option> 435 <option <?php echo $args['titlesize']==19? 'selected="selected"':''; ?> value="19">19</option> 436 <option <?php echo $args['titlesize']==20? 'selected="selected"':''; ?> value="20">20</option> 437 <option <?php echo $args['titlesize']==21? 'selected="selected"':''; ?> value="21">21</option> 438 <option <?php echo $args['titlesize']==22? 'selected="selected"':''; ?> value="22">22</option> 439 <option <?php echo $args['titlesize']==23? 'selected="selected"':''; ?> value="23">23</option> 440 <option <?php echo $args['titlesize']==24? 'selected="selected"':''; ?> value="24">24</option> 441 <option <?php echo $args['titlesize']==25? 'selected="selected"':''; ?> value="25">25</option> 442 <option <?php echo $args['titlesize']==26? 'selected="selected"':''; ?> value="26">26</option> 443 </select></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La taille de la police du titre. Par défaut à <code>20</code>.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 444 </tbody> 445 </table> 446 <br/> 447 <h3><?php echo __('Sous-titre'); ?></h3> 448 <table class="visible" summary="Sous-titre"> 449 <thead> 450 <tr><th>Name</th><th>Value</th><th>Actions</th></tr> 451 </thead> 452 <tbody> 453 <tr><td class="name"><label for="srt">srt</label></td> 454 <td class="value"><input name="srt" id="srt" type="checkbox" <?php echo $args['srt']? 'checked="checked"':''; ?>/></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, '<code>1</code> pour utiliser les sous-titres SRT (le fichier doit être au même endroit que la vidéo et avoir le même nom que le fichier vidéo mais avec l\'extension .srt)')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 455 <tr><td class="name"><label for="srtcolor">srtcolor</label></td> 456 <td class="value"><input type="text" value="<?php echo $args['srtcolor']; ?>" class="color" name="srtcolor" id="srtcolor"></td><td class="actions"><a href="javascript:void(0)" onclick="colorpicker.show(this, 'srtcolor')"><img src="index.php?pf=flvplayerconfig/color_wheel.png" alt="Colopicker"></a> <a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La couleur du texte des sous-titres')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 457 <tr><td class="name"><label for="srtbgcolor">srtbgcolor</label></td> 458 <td class="value"><input type="text" value="<?php echo $args['srtbgcolor']; ?>" class="color" name="srtbgcolor" id="srtbgcolor"></td><td class="actions"><a href="javascript:void(0)" onclick="colorpicker.show(this, 'srtbgcolor')"><img src="index.php?pf=flvplayerconfig/color_wheel.png" alt="Colopicker"></a> <a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La couleur de fond des sous-titres')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 459 <tr><td class="name"><label for="srtsize">srtsize</label></td> 460 <td class="value"><select id="srtsize" name="srtsize"> 461 <option <?php echo $args['srtsize']==8? 'selected="selected"':''; ?> value="8">8</option> 462 <option <?php echo $args['srtsize']==9? 'selected="selected"':''; ?> value="9">9</option> 463 <option <?php echo $args['srtsize']==10? 'selected="selected"':''; ?> value="10">10</option> 464 <option <?php echo $args['srtsize']==11? 'selected="selected"':''; ?> value="11">11</option> 465 <option <?php echo $args['srtsize']==12? 'selected="selected"':''; ?> value="12">12</option> 466 <option <?php echo $args['srtsize']==13? 'selected="selected"':''; ?> value="13">13</option> 467 <option <?php echo $args['srtsize']==14? 'selected="selected"':''; ?> value="14">14</option> 468 <option <?php echo $args['srtsize']==15? 'selected="selected"':''; ?> value="15">15</option> 469 <option <?php echo $args['srtsize']==16? 'selected="selected"':''; ?> value="16">16</option> 470 </select></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La taille du texte des sous-titres. Par défaut à <code>11</code>.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 471 <tr><td class="name"><label for="srturl">srturl</label></td> 472 <td class="value"><input type="text" value="<?php echo $args['srturl']; ?>" class="url" name="srturl" id="srturl"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'L\'URL du fichier de sous-titres (si on ne veut pas de la détection automatique)')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 473 </tbody> 474 </table> 475 </div> 476 477 <div class="multi-part" id="technique" title="<?php echo __('Technique'); ?>" > 478 <h3><?php echo __('Affichage de la mémoire tampon'); ?></h3> 479 <table class="hidden" summary="Affichage de la mémoire tampon"> 480 <thead> 481 <tr><th>Name</th><th>Value</th><th>Actions</th></tr> 482 </thead> 483 <tbody> 484 <tr><td class="name"><label for="buffer">buffer</label></td> 485 <td class="value"><select id="buffer" name="buffer"> 486 <option <?php echo $args['buffer']==5? 'selected="selected"':''; ?> value="5">5</option> 487 <option <?php echo $args['buffer']==10? 'selected="selected"':''; ?> value="10">10</option> 488 <option <?php echo $args['buffer']==20? 'selected="selected"':''; ?> value="20">20</option> 489 <option <?php echo $args['buffer']==30? 'selected="selected"':''; ?> value="30">30</option> 490 <option <?php echo $args['buffer']==60? 'selected="selected"':''; ?> value="60">60</option> 491 </select></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'Le nombre de secondes pour la mémoire tampon. Par défaut à <code>5</code>.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 492 <tr><td class="name"><label for="buffermessage">buffermessage</label></td> 493 <td class="value"><input type="text" value="<?php echo $args['buffermessage']; ?>" class="text" name="buffermessage" id="buffermessage"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'Le message de la mémoire tampon. Par défaut à <code>Buffering _n_</code>, <code>_n_</code> indiquant le pourcentage.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 494 <tr><td class="name"><label for="buffercolor">buffercolor</label></td> 495 <td class="value"><input type="text" value="<?php echo $args['buffercolor']; ?>" class="color" name="buffercolor" id="buffercolor"></td><td class="actions"><a href="javascript:void(0)" onclick="colorpicker.show(this, 'buffercolor')"><img src="index.php?pf=flvplayerconfig/color_wheel.png" alt="Colopicker"></a> <a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La couleur du texte du message tampon')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 496 <tr><td class="name"><label for="bufferbgcolor">bufferbgcolor</label></td> 497 <td class="value"><input type="text" value="<?php echo $args['bufferbgcolor']; ?>" class="color" name="bufferbgcolor" id="bufferbgcolor"></td><td class="actions"><a href="javascript:void(0)" onclick="colorpicker.show(this, 'bufferbgcolor')"><img src="index.php?pf=flvplayerconfig/color_wheel.png" alt="Colopicker"></a> <a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La couleur de fond du message tampon')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 498 <tr><td class="name"><label for="buffershowbg">buffershowbg</label></td> 499 <td class="value"><input name="buffershowbg" id="buffershowbg" type="checkbox" <?php echo $args['buffershowbg']? 'checked="checked"':''; ?>/></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, '<code>0</code> pour ne pas afficher le fond du message tampon')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 500 </tbody> 501 </table> 502 <br/> 503 <h3><?php echo __('Contrôles par la souris'); ?></h3> 504 <table class="hidden" summary="Contrôles par la souris"> 505 <thead> 506 <tr><th>Name</th><th>Value</th><th>Actions</th></tr> 507 </thead> 508 <tbody> 509 <tr><td class="name"><label for="onclick">onclick</label></td> 510 <td class="value"><input type="text" value="<?php echo $args['onclick']; ?>" class="text" name="onclick" id="onclick"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'L\'URL de la destination au click sur la vidéo. Par défaut à <code>playpause</code> qui signifie que la vidéo fait play ou pause au click. Pour ne rien faire, il faut mettre <code>none</code>.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 511 <tr><td class="name"><label for="onclicktarget">onclicktarget</label></td> 512 <td class="value"><input type="text" value="<?php echo $args['onclicktarget']; ?>" class="text" name="onclicktarget" id="onclicktarget"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La cible de l\'URL au click sur la vidéo. Par défaut à <code>_self</code>. Pour ouvrir une nouvelle fenêtre, mettez <code>_blank</code>.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 513 <tr><td class="name"><label for="ondoubleclick">ondoubleclick</label></td> 514 <td class="value"><input type="text" value="<?php echo $args['ondoubleclick']; ?>" class="text" name="ondoubleclick" id="ondoubleclick"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'Action sur le double click: <code>none</code>, <code>fullscreen</code>, <code>playpause</code>, ou l\'url à ouvrir.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 515 <tr><td class="name"><label for="ondoubleclicktarget">ondoubleclicktarget</label></td> 516 <td class="value"><input type="text" value="<?php echo $args['ondoubleclicktarget']; ?>" class="text" name="ondoubleclicktarget" id="ondoubleclicktarget"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La cible de l\'URL au double click sur la vidéo. Par défaut à <code>_self</code>. Pour ouvrir une nouvelle fenêtre, mettez <code>_blank</code>.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 517 </tbody> 518 </table> 519 </div> 520 521 <div class="multi-part" id="imagespardessuslavideo" title="<?php echo __('Images par dessus la vidéo'); ?>" > 522 <table class="hidden" summary="Images par dessus la vidéo"> 523 <thead> 524 <tr><th>Name</th><th>Value</th><th>Actions</th></tr> 525 </thead> 526 <tbody> 527 <tr><td class="name"><label for="top1">top1</label></td> 528 <td class="value"><input type="text" value="<?php echo $args['top1']; ?>" class="text" name="top1" id="top1"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'Charger une image par dessus la vidéo et la placer à une coordonnée <code>x</code> et <code>y</code> (par exemple <code>url|x|y</code>)')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 529 <tr><td class="name"><label for="top2">top2</label></td> 530 <td class="value"><input type="text" value="<?php echo $args['top2']; ?>" class="text" name="top2" id="top2"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'Charger une image par dessus la vidéo et la placer à une coordonnée <code>x</code> et <code>y</code> (par exemple <code>url|x|y</code>)')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 531 <tr><td class="name"><label for="top3">top3</label></td> 532 <td class="value"><input type="text" value="<?php echo $args['top3']; ?>" class="text" name="top3" id="top3"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'Charger une image par dessus la vidéo et la placer à une coordonnée <code>x</code> et <code>y</code> (par exemple <code>url|x|y</code>)')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 533 <tr><td class="name"><label for="top4">top4</label></td> 534 <td class="value"><input type="text" value="<?php echo $args['top4']; ?>" class="text" name="top4" id="top4"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'Charger une image par dessus la vidéo et la placer à une coordonnée <code>x</code> et <code>y</code> (par exemple <code>url|x|y</code>)')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 535 <tr><td class="name"><label for="top5">top5</label></td> 536 <td class="value"><input type="text" value="<?php echo $args['top5']; ?>" class="text" name="top5" id="top5"></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'Charger une image par dessus la vidéo et la placer à une coordonnée <code>x</code> et <code>y</code> (par exemple <code>url|x|y</code>)')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 537 </tbody> 538 </table> 539 </div> 540 541 <div class="multi-part" id="lesiconesdelavideo" title="<?php echo __('Les icones de la vidéo'); ?>" > 542 <table class="hidden" summary="Les icones de la vidéo"> 543 <thead> 544 <tr><th>Name</th><th>Value</th><th>Actions</th></tr> 545 </thead> 546 <tbody> 547 <tr><td class="name"><label for="showiconplay">showiconplay</label></td> 548 <td class="value"><input name="showiconplay" id="showiconplay" type="checkbox" <?php echo $args['showiconplay']? 'checked="checked"':''; ?>/></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, '<code>1</code> pour afficher l\'icone PLAY au milieu de la vidéo.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 549 <tr><td class="name"><label for="iconplaycolor">iconplaycolor</label></td> 550 <td class="value"><input type="text" value="<?php echo $args['iconplaycolor']; ?>" class="color" name="iconplaycolor" id="iconplaycolor"></td><td class="actions"><a href="javascript:void(0)" onclick="colorpicker.show(this, 'iconplaycolor')"><img src="index.php?pf=flvplayerconfig/color_wheel.png" alt="Colopicker"></a> <a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La couleur de l\'icone PLAY.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 551 <tr><td class="name"><label for="iconplaybgcolor">iconplaybgcolor</label></td> 552 <td class="value"><input type="text" value="<?php echo $args['iconplaybgcolor']; ?>" class="color" name="iconplaybgcolor" id="iconplaybgcolor"></td><td class="actions"><a href="javascript:void(0)" onclick="colorpicker.show(this, 'iconplaybgcolor')"><img src="index.php?pf=flvplayerconfig/color_wheel.png" alt="Colopicker"></a> <a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La couleur de fond de l\'icone PLAY.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 553 <tr><td class="name"><label for="iconplaybgalpha">iconplaybgalpha</label></td> 554 <td class="value"><select id="iconplaybgalpha" name="iconplaybgalpha"> 555 <option <?php echo $args['iconplaybgalpha']==0? 'selected="selected"':''; ?> value="0">0</option> 556 <option <?php echo $args['iconplaybgalpha']==25? 'selected="selected"':''; ?> value="25">25</option> 557 <option <?php echo $args['iconplaybgalpha']==50? 'selected="selected"':''; ?> value="50">50</option> 558 <option <?php echo $args['iconplaybgalpha']==75? 'selected="selected"':''; ?> value="75">75</option> 559 <option <?php echo $args['iconplaybgalpha']==100? 'selected="selected"':''; ?> value="100">100</option> 560 </select></td><td class="actions"><a href="javascript:void(0)" onmouseover="tooltip.show(this, 'La transparence du fond de l\'icone PLAY entre <code>0</code> et <code>100</code>.')" onmouseout="tooltip.hide()"><img src="index.php?pf=flvplayerconfig/help.png" alt="Help"></a></td></tr> 561 </tbody> 562 </table> 251 <div class="multi-part" id="generale" title="<?php echo __('General'); ?>" > 252 <div class="two-cols"> 253 <div class="col"> 254 <fieldset> 255 <legend><?php echo __('General'); ?></legend> 256 <p><label for="title"><?php echo __('Title'); ?> : 257 <input type="text" value="<?php echo $args['text']; ?>" class="text" name="text" id="text"> 258 </label></p> 259 <p><label for="startimage"><?php echo __('Startimage'); ?> : 260 <input type="text" value="<?php echo $args['startimage']; ?>" class="url" name="startimage" id="startimage"> 261 </label></p> 262 <p class="form-note"> 263 <?php echo(__('Retrieves the URL of your image in the media manager.')); ?> 264 </p> 265 266 <?php if( !$popup ) { ?> 267 <p><label for="width"><?php echo __('Width'); ?> : 268 <input type="text" value="<?php echo $args['width']; ?>" class="int" name="width" id="width"> 269 </label></p> 270 <p><label for="height"><?php echo __('Height'); ?> : 271 <input type="text" value="<?php echo $args['height']; ?>" class="int" name="height" id="height"> 272 </label></p> 273 <p><label for="align"><?php echo __('Disposition'); ?> : 274 <select id="align" name="align"> 275 <option <?php echo $args['align']=="none"? 'selected="selected"':''; ?> value="none"><?php echo __('None'); ?></option> 276 <option <?php echo $args['align']=="left"? 'selected="selected"':''; ?> value="left"><?php echo __('Left'); ?></option> 277 <option <?php echo $args['align']=="right"? 'selected="selected"':''; ?> value="right"><?php echo __('Right'); ?></option> 278 <option <?php echo $args['align']=="center"? 'selected="selected"':''; ?> value="center"><?php echo __('Center'); ?></option> 279 </select> 280 </label></p> 281 <?php } ?> 282 <p><label for="loop" class="classic"> 283 <input name="loop" id="loop" type="checkbox" <?php echo $args['loop']? 'checked="checked"':''; ?>/> 284 <?php echo __('Loop'); ?> 285 </label></p> 286 <p><label for="autoplay" class="classic"> 287 <input name="autoplay" id="autoplay" type="checkbox" <?php echo $args['autoplay']? 'checked="checked"':''; ?>/> 288 <?php echo __('Autoplay'); ?> 289 </label></p> 290 <p><label for="autoload" class="classic"> 291 <input name="autoload" id="autoload" type="checkbox" <?php echo $args['autoload']? 'checked="checked"':''; ?>/> 292 <?php echo __('Autoload'); ?> 293 </label></p> 294 <p><label for="volume"><?php echo __('Volume'); ?> : 295 <select id="volume" name="volume"> 296 <option <?php echo $args['volume']==0? 'selected="selected"':''; ?> value="0">0</option> 297 <option <?php echo $args['volume']==25? 'selected="selected"':''; ?> value="25">25</option> 298 <option <?php echo $args['volume']==50? 'selected="selected"':''; ?> value="50">50</option> 299 <option <?php echo $args['volume']==75? 'selected="selected"':''; ?> value="75">75</option> 300 <option <?php echo $args['volume']==100? 'selected="selected"':''; ?> value="100">100</option> 301 <option <?php echo $args['volume']==125? 'selected="selected"':''; ?> value="125">125</option> 302 <option <?php echo $args['volume']==150? 'selected="selected"':''; ?> value="150">150</option> 303 <option <?php echo $args['volume']==175? 'selected="selected"':''; ?> value="175">175</option> 304 <option <?php echo $args['volume']==200? 'selected="selected"':''; ?> value="200">200</option> 305 </select> 306 </label></p> 307 <br class="clear"> 308 </fieldset> 309 </div> 310 <div class="col"> 311 <fieldset> 312 <legend><?php echo __('Miscellaneous'); ?></legend> 313 <p><label for="showmouse"><?php echo __('Show mouse'); ?> : 314 <select id="showmouse" name="showmouse"> 315 <option <?php echo $args['showmouse']=='autohide'? 'selected="selected"':''; ?> value="autohide"><?php echo __('autohide'); ?></option> 316 <option <?php echo $args['showmouse']=='always'? 'selected="selected"':''; ?> value="always"><?php echo __('always'); ?></option> 317 <option <?php echo $args['showmouse']=='never'? 'selected="selected"':''; ?> value="never"><?php echo __('never'); ?></option> 318 </select> 319 </label></p> 320 <p><label for="videobgcolor"><?php echo __('Video background color'); ?> : 321 <input type="text" value="<?php echo $args['videobgcolor']; ?>" class="color" name="videobgcolor" id="videobgcolor"> 322 </label></p> 323 <p><label for="loadonstop" class="classic"> 324 <input name="loadonstop" id="loadonstop" type="checkbox" <?php echo $args['loadonstop']? 'checked="checked"':''; ?>/> 325 <?php echo __('Load on stop'); ?> 326 </label></p> 327 <p><label for="phpstream" class="classic"> 328 <input name="phpstream" id="phpstream" type="checkbox" <?php echo $args['phpstream']? 'checked="checked"':''; ?>/> 329 <?php echo __('PHP stream'); ?> 330 </label></p> 331 <p><label for="shortcut" class="classic"> 332 <input name="shortcut" id="shortcut" type="checkbox" <?php echo $args['shortcut']? 'checked="checked"':''; ?>/> 333 <?php echo __('Shortcut'); ?> 334 </label></p> 335 <p><label for="netconnection"><?php echo __('Net connection'); ?> : 336 <input type="text" value="<?php echo $args['netconnection']; ?>" class="text" name="netconnection" id="netconnection"> 337 </label></p> 338 <p><label for="showtitleandstartimage" class="classic"> 339 <input name="showtitleandstartimage" id="showtitleandstartimage" type="checkbox" <?php echo $args['showtitleandstartimage']? 'checked="checked"':''; ?>/> 340 <?php echo __('Show title and startimage'); ?> 341 </label></p> 342 <br class="clear"> 343 </fieldset> 344 </div> 345 </div> 563 346 </div> 564 347 348 <div class="multi-part" id="bordure" title="<?php echo __('Border'); ?> & <?php echo __('Title'); ?>" > 349 <div class="two-cols"> 350 <div class="col"> 351 <fieldset> 352 <legend><?php echo __('Border'); ?></legend> 353 <p><label for="skin"><?php echo __('Skin'); ?> : 354 <input type="text" value="<?php echo $args['skin']; ?>" class="url" name="skin" id="skin"> 355 </label></p> 356 <p><label for="margin"><?php echo __('Margin'); ?> : 357 <input type="text" value="<?php echo $args['margin']; ?>" class="int" name="margin" id="margin"> 358 </label></p> 359 <p><label for="bgcolor"><?php echo __('Background color'); ?> : 360 <input type="text" value="<?php echo $args['bgcolor']; ?>" class="color" name="bgcolor" id="bgcolor"> 361 </label></p> 362 <p><label for="bgcolor1"><?php echo __('Background color 1'); ?> : 363 <input type="text" value="<?php echo $args['bgcolor1']; ?>" class="color" name="bgcolor1" id="bgcolor1"> 364 </label></p> 365 <p><label for="bgcolor2"><?php echo __('Background color 2'); ?> : 366 <input type="text" value="<?php echo $args['bgcolor2']; ?>" class="color" name="bgcolor2" id="bgcolor2"> 367 </label></p> 368 <br class="clear"> 369 </fieldset> 370 </div> 371 <div class="col"> 372 <fieldset> 373 <legend><?php echo __('Title'); ?></legend> 374 <p><label for="titlecolor"><?php echo __('Title color'); ?> : 375 <input type="text" value="<?php echo $args['titlecolor']; ?>" class="color" name="titlecolor" id="titlecolor"> 376 </label></p> 377 <p><label for="titlesize"><?php echo __('Title size'); ?> : 378 <select id="titlesize" name="titlesize"> 379 <option <?php echo $args['titlesize']==8? 'selected="selected"':''; ?> value="8">8</option> 380 <option <?php echo $args['titlesize']==9? 'selected="selected"':''; ?> value="9">9</option> 381 <option <?php echo $args['titlesize']==10? 'selected="selected"':''; ?> value="10">10</option> 382 <option <?php echo $args['titlesize']==11? 'selected="selected"':''; ?> value="11">11</option> 383 <option <?php echo $args['titlesize']==12? 'selected="selected"':''; ?> value="12">12</option> 384 <option <?php echo $args['titlesize']==13? 'selected="selected"':''; ?> value="13">13</option> 385 <option <?php echo $args['titlesize']==14? 'selected="selected"':''; ?> value="14">14</option> 386 <option <?php echo $args['titlesize']==15? 'selected="selected"':''; ?> value="15">15</option> 387 <option <?php echo $args['titlesize']==16? 'selected="selected"':''; ?> value="16">16</option> 388 <option <?php echo $args['titlesize']==17? 'selected="selected"':''; ?> value="17">17</option> 389 <option <?php echo $args['titlesize']==18? 'selected="selected"':''; ?> value="18">18</option> 390 <option <?php echo $args['titlesize']==19? 'selected="selected"':''; ?> value="19">19</option> 391 <option <?php echo $args['titlesize']==20? 'selected="selected"':''; ?> value="20">20</option> 392 <option <?php echo $args['titlesize']==21? 'selected="selected"':''; ?> value="21">21</option> 393 <option <?php echo $args['titlesize']==22? 'selected="selected"':''; ?> value="22">22</option> 394 <option <?php echo $args['titlesize']==23? 'selected="selected"':''; ?> value="23">23</option> 395 <option <?php echo $args['titlesize']==24? 'selected="selected"':''; ?> value="24">24</option> 396 <option <?php echo $args['titlesize']==25? 'selected="selected"':''; ?> value="25">25</option> 397 <option <?php echo $args['titlesize']==26? 'selected="selected"':''; ?> value="26">26</option> 398 </select> 399 </label></p> 400 <br class="clear"> 401 </fieldset> 402 <fieldset> 403 <legend><?php echo __('Subtitle'); ?></legend> 404 <p><label for="srt" class="classic"> 405 <input name="srt" id="srt" type="checkbox" <?php echo $args['srt']? 'checked="checked"':''; ?>/> 406 <?php echo __('Subtitle'); ?> 407 </label></p> 408 <p><label for="srtcolor"><?php echo __('Subtitle color'); ?> : 409 <input type="text" value="<?php echo $args['srtcolor']; ?>" class="color" name="srtcolor" id="srtcolor"> 410 </label></p> 411 <p><label for="srtbgcolor"><?php echo __('Subtitle background color'); ?> : 412 <input type="text" value="<?php echo $args['srtbgcolor']; ?>" class="color" name="srtbgcolor" id="srtbgcolor"> 413 </label></p> 414 <p><label for="srtsize"><?php echo __('Subtitle size'); ?> : 415 <select id="srtsize" name="srtsize"> 416 <option <?php echo $args['srtsize']==8? 'selected="selected"':''; ?> value="8">8</option> 417 <option <?php echo $args['srtsize']==9? 'selected="selected"':''; ?> value="9">9</option> 418 <option <?php echo $args['srtsize']==10? 'selected="selected"':''; ?> value="10">10</option> 419 <option <?php echo $args['srtsize']==11? 'selected="selected"':''; ?> value="11">11</option> 420 <option <?php echo $args['srtsize']==12? 'selected="selected"':''; ?> value="12">12</option> 421 <option <?php echo $args['srtsize']==13? 'selected="selected"':''; ?> value="13">13</option> 422 <option <?php echo $args['srtsize']==14? 'selected="selected"':''; ?> value="14">14</option> 423 <option <?php echo $args['srtsize']==15? 'selected="selected"':''; ?> value="15">15</option> 424 <option <?php echo $args['srtsize']==16? 'selected="selected"':''; ?> value="16">16</option> 425 </select> 426 </label></p> 427 <p><label for="srturl"><?php echo __('Subtitle url'); ?> : 428 <input type="text" value="<?php echo $args['srturl']; ?>" class="url" name="srturl" id="srturl"> 429 </label></p> 430 <p class="form-note"> 431 <?php echo(__('Retrieves the URL of your file in the media manager.')); ?> 432 </p> 433 <br class="clear"> 434 </fieldset> 435 </div> 436 </div> 437 </div> 438 439 <div class="multi-part" id="barredecontrole" title="<?php echo __('Control Bar'); ?>" > 440 <div class="two-cols"> 441 <div class="col"> 442 <fieldset> 443 <legend><?php echo __('Control Bar'); ?></legend> 444 <p><label for="showstop" class="classic"> 445 <input name="showstop" id="showstop" type="checkbox" <?php echo $args['showstop']? 'checked="checked"':''; ?>/> 446 <?php echo __('Show stop'); ?> 447 </label></p> 448 <p><label for="showvolume" class="classic"> 449 <input name="showvolume" id="showvolume" type="checkbox" <?php echo $args['showvolume']? 'checked="checked"':''; ?>/> 450 <?php echo __('Show volume'); ?> 451 </label></p> 452 <p><label for="showtime"><?php echo __('Show time'); ?> : 453 <select id="showtime" name="showtime"> 454 <option <?php echo $args['showtime']==0? 'selected="selected"':''; ?> value="0">0</option> 455 <option <?php echo $args['showtime']==1? 'selected="selected"':''; ?> value="1">1</option> 456 <option <?php echo $args['showtime']==2? 'selected="selected"':''; ?> value="2">2</option> 457 </select> 458 </label></p> 459 <p><label for="showplayer"><?php echo __('Show player'); ?> : 460 <select id="showplayer" name="showplayer"> 461 <option <?php echo $args['showplayer']=='autohide'? 'selected="selected"':''; ?> value="autohide"><?php echo __('autohide'); ?></option> 462 <option <?php echo $args['showplayer']=='always'? 'selected="selected"':''; ?> value="always"><?php echo __('always'); ?></option> 463 <option <?php echo $args['showplayer']=='never'? 'selected="selected"':''; ?> value="never"><?php echo __('never'); ?></option> 464 </select> 465 </label></p> 466 <p><label for="showloading"><?php echo __('Show loading'); ?> : 467 <select id="showloading" name="showloading"> 468 <option <?php echo $args['showloading']=='autohide'? 'selected="selected"':''; ?> value="autohide"><?php echo __('autohide'); ?></option> 469 <option <?php echo $args['showloading']=='always'? 'selected="selected"':''; ?> value="always"><?php echo __('always'); ?></option> 470 <option <?php echo $args['showloading']=='never'? 'selected="selected"':''; ?> value="never"><?php echo __('never'); ?></option> 471 </select> 472 </label></p> 473 <p><label for="showfullscreen" class="classic"> 474 <input name="showfullscreen" id="showfullscreen" type="checkbox" <?php echo $args['showfullscreen']? 'checked="checked"':''; ?>/> 475 <?php echo __('Show full screen'); ?> 476 </label></p> 477 <p><label for="showswitchsubtitles" class="classic"> 478 <input name="showswitchsubtitles" id="showswitchsubtitles" type="checkbox" <?php echo $args['showswitchsubtitles']? 'checked="checked"':''; ?>/> 479 <?php echo __('Show switch subtitles'); ?> 480 </label></p> 481 <p><label for="playertimeout"><?php echo __('Player time out'); ?> : 482 <input type="text" value="<?php echo $args['playertimeout']; ?>" class="int" name="playertimeout" id="playertimeout"> 483 </label></p> 484 <br class="clear"> 485 </fieldset> 486 </div> 487 <div class="col"> 488 <fieldset> 489 <legend><?php echo __('Colors'); ?></legend> 490 <p><label for="playercolor"><?php echo __('Player color'); ?> : 491 <input type="text" value="<?php echo $args['playercolor']; ?>" class="color" name="playercolor" id="playercolor"> 492 </label></p> 493 <p><label for="playeralpha"><?php echo __('Player alpha'); ?> : 494 <select id="playeralpha" name="playeralpha"> 495 <option <?php echo $args['playeralpha']==0? 'selected="selected"':''; ?> value="0">0</option> 496 <option <?php echo $args['playeralpha']==25? 'selected="selected"':''; ?> value="25">25</option> 497 <option <?php echo $args['playeralpha']==50? 'selected="selected"':''; ?> value="50">50</option> 498 <option <?php echo $args['playeralpha']==75? 'selected="selected"':''; ?> value="75">75</option> 499 <option <?php echo $args['playeralpha']==100? 'selected="selected"':''; ?> value="100">100</option> 500 </select> 501 </label></p> 502 <p><label for="loadingcolor"><?php echo __('Loading color'); ?> : 503 <input type="text" value="<?php echo $args['loadingcolor']; ?>" class="color" name="loadingcolor" id="loadingcolor"> 504 </label></p> 505 <p><label for="buttoncolor"><?php echo __('Button color'); ?> : 506 <input type="text" value="<?php echo $args['buttoncolor']; ?>" class="color" name="buttoncolor" id="buttoncolor"> 507 </label></p> 508 <p><label for="buttonovercolor"><?php echo __('Button over color'); ?> : 509 <input type="text" value="<?php echo $args['buttonovercolor']; ?>" class="color" name="buttonovercolor" id="buttonovercolor"> 510 </label></p> 511 <p><label for="slidercolor1"><?php echo __('Slider color 1'); ?> : 512 <input type="text" value="<?php echo $args['slidercolor1']; ?>" class="color" name="slidercolor1" id="slidercolor1"> 513 </label></p> 514 <p><label for="slidercolor2"><?php echo __('Slider color 2'); ?> : 515 <input type="text" value="<?php echo $args['slidercolor2']; ?>" class="color" name="slidercolor2" id="slidercolor2"> 516 </label></p> 517 <p><label for="sliderovercolor"><?php echo __('Slider over color'); ?> : 518 <input type="text" value="<?php echo $args['sliderovercolor']; ?>" class="color" name="sliderovercolor" id="sliderovercolor"> 519 </label></p> 520 <br class="clear"> 521 </fieldset> 522 </div> 523 </div> 524 </div> 525 526 <div class="multi-part" id="technique" title="<?php echo __('Technical '); ?>" > 527 <div class="two-cols"> 528 <div class="col"> 529 <fieldset> 530 <legend><?php echo __('Display Buffer'); ?></legend> 531 <p><label for="buffer"><?php echo __('Buffer'); ?> : 532 <select id="buffer" name="buffer"> 533 <option <?php echo $args['buffer']==5? 'selected="selected"':''; ?> value="5">5</option> 534 <option <?php echo $args['buffer']==10? 'selected="selected"':''; ?> value="10">10</option> 535 <option <?php echo $args['buffer']==20? 'selected="selected"':''; ?> value="20">20</option> 536 <option <?php echo $args['buffer']==30? 'selected="selected"':''; ?> value="30">30</option> 537 <option <?php echo $args['buffer']==60? 'selected="selected"':''; ?> value="60">60</option> 538 </select> 539 </label></p> 540 <p><label for="buffermessage"><?php echo __('Buffer message'); ?> : 541 <input type="text" value="<?php echo $args['buffermessage']; ?>" class="text" name="buffermessage" id="buffermessage"> 542 </label></p> 543 <p><label for="buffercolor"><?php echo __('Buffer color'); ?> : 544 <input type="text" value="<?php echo $args['buffercolor']; ?>" class="color" name="buffercolor" id="buffercolor"> 545 </label></p> 546 <p><label for="bufferbgcolor"><?php echo __('Buffer background color'); ?> : 547 <input type="text" value="<?php echo $args['bufferbgcolor']; ?>" class="color" name="bufferbgcolor" id="bufferbgcolor"> 548 </label></p> 549 <p><label for="buffershowbg" class="classic"> 550 <input name="buffershowbg" id="buffershowbg" type="checkbox" <?php echo $args['buffershowbg']? 'checked="checked"':''; ?>/> 551 <?php echo __('Buffer show background'); ?> 552 </label></p> 553 <br class="clear"> 554 </fieldset> 555 </div> 556 <div class="col"> 557 <fieldset> 558 <legend><?php echo __('Controls the mouse'); ?></legend> 559 <p><label for="onclick"><?php echo __('Onclick'); ?> : 560 <input type="text" value="<?php echo $args['onclick']; ?>" class="text" name="onclick" id="onclick"> 561 </label></p> 562 <p><label for="onclicktarget"><?php echo __('Onclick target'); ?> : 563 <input type="text" value="<?php echo $args['onclicktarget']; ?>" class="text" name="onclicktarget" id="onclicktarget"> 564 </label></p> 565 <p><label for="ondoubleclick"><?php echo __('Ondoubleclick'); ?> : 566 <input type="text" value="<?php echo $args['ondoubleclick']; ?>" class="text" name="ondoubleclick" id="ondoubleclick"> 567 </label></p> 568 <p><label for="ondoubleclicktarget"><?php echo __('Ondoubleclick target'); ?> : 569 <input type="text" value="<?php echo $args['ondoubleclicktarget']; ?>" class="text" name="ondoubleclicktarget" id="ondoubleclicktarget"> 570 </label></p> 571 <br class="clear"> 572 </fieldset> 573 </div> 574 </div> 575 </div> 576 577 <div class="multi-part" id="imagespardessuslavideo" title="<?php echo __('Images on the video'); ?> & <?php echo __('The icons of the video'); ?>" > 578 <div class="two-cols"> 579 <div class="col"> 580 <fieldset> 581 <legend><?php echo __('Images on the video'); ?></legend> 582 <p><label for="top1"><?php echo __('Top 1'); ?> : 583 <input type="text" value="<?php echo $args['top1']; ?>" class="text" name="top1" id="top1"> 584 </label></p> 585 <p><label for="top2"><?php echo __('Top 2'); ?> : 586 <input type="text" value="<?php echo $args['top2']; ?>" class="text" name="top2" id="top2"> 587 </label></p> 588 <p><label for="top3"><?php echo __('Top 3'); ?> : 589 <input type="text" value="<?php echo $args['top3']; ?>" class="text" name="top3" id="top3"> 590 </label></p> 591 <p><label for="top4"><?php echo __('Top 4'); ?> : 592 <input type="text" value="<?php echo $args['top4']; ?>" class="text" name="top4" id="top4"> 593 </label></p> 594 <p><label for="top5"><?php echo __('Top 5'); ?> : 595 <input type="text" value="<?php echo $args['top5']; ?>" class="text" name="top5" id="top5"> 596 </label></p> 597 <br class="clear"> 598 </fieldset> 599 </div> 600 <div class="col"> 601 <fieldset> 602 <legend><?php echo __('The icons of the video'); ?></legend> 603 <p><label for="showiconplay" class="classic"> 604 <input name="showiconplay" id="showiconplay" type="checkbox" <?php echo $args['showiconplay']? 'checked="checked"':''; ?>/> 605 <?php echo __('Show icon play'); ?> 606 </label></p> 607 <p><label for="iconplaycolor"><?php echo __('Icon play color'); ?> : 608 <input type="text" value="<?php echo $args['iconplaycolor']; ?>" class="color" name="iconplaycolor" id="iconplaycolor"> 609 </label></p> 610 <p><label for="iconplaybgcolor"><?php echo __('Icon play background color'); ?> : 611 <input type="text" value="<?php echo $args['iconplaybgcolor']; ?>" class="color" name="iconplaybgcolor" id="iconplaybgcolor"> 612 </label></p> 613 <p><label for="iconplaybgalpha"><?php echo __('Icon play background alpha'); ?> : 614 <select id="iconplaybgalpha" name="iconplaybgalpha"> 615 <option <?php echo $args['iconplaybgalpha']==0? 'selected="selected"':''; ?> value="0">0</option> 616 <option <?php echo $args['iconplaybgalpha']==25? 'selected="selected"':''; ?> value="25">25</option> 617 <option <?php echo $args['iconplaybgalpha']==50? 'selected="selected"':''; ?> value="50">50</option> 618 <option <?php echo $args['iconplaybgalpha']==75? 'selected="selected"':''; ?> value="75">75</option> 619 <option <?php echo $args['iconplaybgalpha']==100? 'selected="selected"':''; ?> value="100">100</option> 620 </select> 621 </label></p> 622 <br class="clear"> 623 </fieldset> 624 </div> 625 </div> 626 </div> 627 628 <p class="clear"> 629 <?php echo $core->formNonce(); ?> 630 <input id="flv" type="hidden" value="<?php echo $flv; ?>"/> 565 631 <?php if( !$popup ) { ?> 566 567 <p><input type="submit" name="saveconfig" value="<?php echo __('Valider'); ?>" /></p> 568 632 <input type="submit" tabindex="33" name="saveconfig" accesskey="s" value="<?php echo __('OK'); ?>" /> 569 633 <?php } else { ?> 634 <a href="#" class="button" id="flvplayerconfig-cancel"><?php echo __('Undo'); ?></a> - 635 <a href="#" class="button" id="flvplayerconfig-preview"><?php echo __('Preview'); ?></a> - 636 <strong><a href="#" class="button" id="flvplayerconfig-ok"><?php echo __('OK'); ?></a></strong> 637 <?php } ?> 638 </p> 570 639 571 <a id="flvplayerconfig-ok" class="button" href="#"><?php echo __('Valider'); ?></a> 572 573 <?php } ?> 574 </form> 575 </div> 576 640 </form> 641 642 <?php dcPage::helpBlock('flvplayerconfig');?> 643 577 644 </body> 578 645 </html> -
plugins/flvplayerconfig/trunk/inc/class.dc.flvplayerconfig.php
r2890 r3054 36 36 } 37 37 38 public static function flvPlayerConfig($arr) {39 40 $arr['excerpt_xhtml'] = dcflvplayerconfig:: dcAddFlvPlayer($arr['excerpt_xhtml']);41 $arr['content_xhtml'] = dcflvplayerconfig:: dcAddFlvPlayer($arr['content_xhtml']);38 public static function coreAfterPostContentFormat ($arr) { 39 40 $arr['excerpt_xhtml'] = dcflvplayerconfig::patchAfterTranslator($arr['excerpt_xhtml']); 41 $arr['content_xhtml'] = dcflvplayerconfig::patchAfterTranslator($arr['content_xhtml']); 42 42 43 43 } 44 44 45 public static function dcAddFlvPlayer($txt) {45 public static function patchAfterTranslator ($txt) { 46 46 47 47 //remplacement suite au passage dans le traducteur Wiki 48 48 $txt=str_ireplace("”",'"',$txt); 49 49 $txt=str_ireplace('<a href="/flvplayer" title="/flvplayer">/flvplayer</a>','[/flvplayer]',$txt); 50 //$txt=preg_replace('`<a href="flvplayer[^\"]*" title="flvplayer([^\"]*)([^>]*)>(.*?)<\/a>`is','[flvplayer$1]',$txt);51 $txt=preg_replace('`(.*flvplayer.*)`e',"str_replace(array('<p>', '</p>', '<br/>'), '', '\\1')",$txt);50 $txt=preg_replace('`(.*flvplayer.*)`e',"str_replace(array('<br/>'), '', '\\1')",$txt); 51 return $txt; 52 52 53 //conversion HTML 53 } 54 55 public static function publicBeforeContentFilter ($core, $tag, $arr) { 56 57 if( $tag == 'EntryContent' || $tag == 'EntryExcerpt' ) { 58 59 $txt = $arr[0]; 60 61 preg_match_all('`[\<p\>]?\[flvplayer\b([^\]]*)?\][\<\/p\>]?`is',$txt,$out); 54 62 55 preg_match_all('`[\<p\>]?\[flvplayer\b([^\]]*)?\][\<\/p\>]?`is',$txt,$out); 56 57 foreach ($out[0] as $key => $value) { 63 foreach ($out[0] as $key => $value) { 64 65 $out[1][$key] = str_replace(array('<pre>', '</pre>', '<br'), '', $out[1][$key]); 66 preg_match_all('`(\w+)\s*=\s*([^;]*)`is',$out[1][$key],$tinout); 67 68 // config par défaut 69 $values = unserialize($GLOBALS['core']->blog->settings->themes->flvplayer_style); 70 71 foreach ($tinout[1] as $key2 => $value2) 72 $values[$value2] = $tinout[2][$key2]; 73 74 $player = '<div>'; 75 if( $values['align'] == 'center' ) $player = '<div style="text-align: center;">'; 76 if( $values['align'] == 'left' ) $player = '<div style="float: left; margin: 0 1em 1em 0;">'; 77 if( $values['align'] == 'right' ) $player = '<div style="float: right; margin: 0 0 1em 1em;">'; 78 79 $player .= '<object type="application/x-shockwave-flash" data="?pf=player_flv.swf" width="'.$values['width'].'" height="'.$values['height'].'"> 80 <param name="movie" value="?pf=player_flv.swf"> 81 <param name="wmode" value="transparent"> 82 <param name="allowFullScreen" value="true"> 83 <param name="FlashVars" value="'; 84 85 foreach ($values as $key2 => $value2) 86 $player .= $key2.'='.$value2.'&'; 87 88 $player .= '">'; 89 90 $txt = str_replace($out[0][$key], $player, $txt); 91 92 } 58 93 59 $out[1][$key] = str_replace(array('<pre>', '</pre>', '<br'), '', $out[1][$key]); 60 preg_match_all('`(\w+)\s*=\s*([^;]*)`is',$out[1][$key],$tinout); 61 62 // config par défaut 63 $values = unserialize($GLOBALS['core']->blog->settings->themes->flvplayer_style); 64 65 foreach ($tinout[1] as $key2 => $value2) 66 $values[$value2] = $tinout[2][$key2]; 67 68 $player = '<div>'; 69 if( $values['align'] == 'center' ) $player = '<div style="text-align: center;">'; 70 if( $values['align'] == 'left' ) $player = '<div style="float: left; margin: 0 1em 1em 0;">'; 71 if( $values['align'] == 'right' ) $player = '<div style="float: right; margin: 0 0 1em 1em;">'; 72 73 $player .= '<object type="application/x-shockwave-flash" data="?pf=player_flv.swf" width="'.$values['width'].'" height="'.$values['height'].'"> 74 <param name="movie" value="?pf=player_flv.swf"> 75 <param name="wmode" value="transparent"> 76 <param name="allowFullScreen" value="true"> 77 <param name="FlashVars" value="'; 78 79 foreach ($values as $key2 => $value2) 80 $player .= $key2.'='.$value2.'&'; 81 82 $player .= '">'; 83 84 $txt = str_replace($out[0][$key], $player, $txt); 94 $txt=preg_replace('`\[\/flvplayer\]`is','</object> 95 </div>',$txt); 96 97 $arr[0] = $txt; 85 98 86 99 } 87 100 88 $txt=preg_replace('`\[\/flvplayer\]`is','</object>89 </div>',$txt);90 91 return $txt;92 93 101 } 94 102 } -
plugins/flvplayerconfig/trunk/index.php
r2890 r3054 1 <?php if (!defined('DC_CONTEXT_ADMIN')) {return;}1 <?php 2 2 # -- BEGIN LICENSE BLOCK ---------------------------------- 3 3 # This file is part of flvplayerconfig, a plugin for Dotclear 2. 4 4 # 5 # Copyright (c) 2010 lipkiand contributors6 # kevin@lepeltier.info5 # Copyright (c) 2010 Rasibus Master and contributors 6 # postmaster@rasib.us 7 7 # 8 8 # Licensed under the GPL version 2.0 license. … … 10 10 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 11 11 # -- END LICENSE BLOCK ------------------------------------ 12 13 if (!defined('DC_CONTEXT_ADMIN')) {return;} 14 /** 15 * @author kévin lepeltier [lipki] (kevin@lepeltier.info) 16 * @license http://creativecommons.org/licenses/by-sa/3.0/deed.fr 17 */ 12 18 13 19 $media = (integer) !empty($_GET['media']); -
plugins/flvplayerconfig/trunk/js/popup.js
r2890 r3054 9 9 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 10 10 * -- END LICENSE BLOCK ------------------------------------*/ 11 12 13 $(function(){ 14 15 16 ref = new Object(); 17 $("input").add('select').each( function(i) { 18 if ($(this).val() != '' && $(this).attr('id') != '' && $(this).attr('id') != 'flv' && $(this).attr('id') != 'width' && $(this).attr('id') != 'height') { 19 if ($(this).attr('type') == "url") 20 ref[$(this).attr('id')] = escape($(this).val()); 21 else if ($(this).attr('type') == "int") 22 ref[$(this).attr('id')] = escapeHTML(Number($(this).val())); 23 else if ($(this).attr('type') == "bool") 24 ref[$(this).attr('id')] = escapeHTML(($(this).val() == "on")?1:0); 25 else 26 ref[$(this).attr('id')] = escapeHTML($(this).val()); 27 } 28 }); 29 30 31 32 $("input").add('select') 33 .change( function() { 34 preview(); 35 }); 36 37 $('#flvplayerconfig-cancel') 38 .click(function(){ 39 window.close(); 40 }); 41 $('#flvplayerconfig-preview') 42 .click(function(){ 43 preview(); 44 }); 45 $('#flvplayerconfig-ok') 46 .click(function(){ 47 sendClose(); 48 window.close(); 49 }); 50 }); 11 51 12 52 function urlencode (clearString) { … … 34 74 return output; 35 75 } 76 77 function sendClose(){ 78 var insert_form=$('#flvplayerconfig-insert-form').get(0); 79 if(insert_form==undefined){return;} 80 var tb=window.opener.the_toolbar; 81 var data=tb.elements.flvplayerconfig.data; 82 83 //ref = {'align':'none', 'loop':'on', 'autoplay':'on', 'autoload':'on', 'volume':'100', 'showmouse':'always', 'videobgcolor':'000000', 'loadonstop':'on', 'phpstream':'on', 'shortcut':'on', 'showtitleandstartimage':'on', 'margin':'5', 'bgcolor':'ffffff', 'bgcolor1':'7c7c7c', 'bgcolor2':'333333', 'showstop':'on', 'showvolume':'on', 'showtime':'0', 'showplayer':'autohide', 'showloading':'autohide', 'showfullscreen':'on', 'showswitchsubtitles':'on', 'playertimeout':'1500', 'playercolor':'000000', 'playeralpha':'100', 'loadingcolor':'ffff00', 'buttoncolor':'ffffff', 'buttonovercolor':'ffff00', 'slidercolor1':'cccccc', 'slidercolor2':'888888', 'sliderovercolor':'ffff00', 'titlecolor':'ffffff', 'titlesize':'20', 'srt':'on', 'srtcolor':'ffffff', 'srtbgcolor':'000000', 'srtsize':'11', 'buffer':'5', 'buffermessage':'Buffering _n_', 'buffercolor':'ffffff', 'bufferbgcolor':'000000', 'buffershowbg':'on', 'onclick':'playpause', 'onclicktarget':'_self', 'ondoubleclick':'none', 'ondoubleclicktarget':'_self', 'showiconplay':'on', 'iconplaycolor':'ffffff', 'iconplaybgcolor':'000000', 'iconplaybgalpha':'75'} 84 85 $('input').add('select').each(function(index) { 86 if( $(this).attr('id') && $(this).val() != '' ) 87 if( $(this).val() != ref[$(this).attr('id')] ) 88 data[$(this).attr('id')] = $(this).val(); 89 }); 90 tb.elements.flvplayerconfig.fncall[tb.mode].call(tb); 91 }; 36 92 37 $(function(){ 38 $('#flvplayerconfig-ok') 39 .click(function(){ 40 sendClose(); 41 window.close(); 42 }); 93 function preview(){ 94 var out = '<object type="application/x-shockwave-flash" data="index.php?pf=player_flv.swf" width="'+$('#width').val()+'" height="'+$('#height').val()+'">'+"\n"; 95 out += ' <param name="movie" value="index.php?pf=player_flv.swf" />'+"\n"; 96 out += ' <param name="allowFullScreen"value="true" />'+"\n"; 97 out += ' <param name="FlashVars" value="'; 43 98 44 function sendClose(){ 45 var insert_form=$('#flvplayerconfig-insert-form').get(0); 46 if(insert_form==undefined){return;} 47 var tb=window.opener.the_toolbar; 48 var data=tb.elements.flvplayerconfig.data; 49 50 ref = {'align':'none', 'loop':'on', 'autoplay':'on', 'autoload':'on', 'volume':'100', 'showmouse':'always', 'videobgcolor':'000000', 'loadonstop':'on', 'phpstream':'on', 'shortcut':'on', 'showtitleandstartimage':'on', 'margin':'5', 'bgcolor':'ffffff', 'bgcolor1':'7c7c7c', 'bgcolor2':'333333', 'showstop':'on', 'showvolume':'on', 'showtime':'0', 'showplayer':'autohide', 'showloading':'autohide', 'showfullscreen':'on', 'showswitchsubtitles':'on', 'playertimeout':'1500', 'playercolor':'000000', 'playeralpha':'100', 'loadingcolor':'ffff00', 'buttoncolor':'ffffff', 'buttonovercolor':'ffff00', 'slidercolor1':'cccccc', 'slidercolor2':'888888', 'sliderovercolor':'ffff00', 'titlecolor':'ffffff', 'titlesize':'20', 'srt':'on', 'srtcolor':'ffffff', 'srtbgcolor':'000000', 'srtsize':'11', 'buffer':'5', 'buffermessage':'Buffering _n_', 'buffercolor':'ffffff', 'bufferbgcolor':'000000', 'buffershowbg':'on', 'onclick':'playpause', 'onclicktarget':'_self', 'ondoubleclick':'none', 'ondoubleclicktarget':'_self', 'showiconplay':'on', 'iconplaycolor':'ffffff', 'iconplaybgcolor':'000000', 'iconplaybgalpha':'75'} 51 52 $('input').add('select').each(function(index) { 53 if( $(this).attr('id') && $(this).val() != '' ) 54 if( $(this).val() != ref[$(this).attr('id')] ) 55 data[$(this).attr('id')] = $(this).val(); 56 }); 57 tb.elements.flvplayerconfig.fncall[tb.mode].call(tb); 58 }; 59 }); 99 var separator = ''; 100 $("input").add('select').each( function(i) { 101 if ($(this).val() != '' && $(this).attr('id') != '') { 102 if ($(this).attr('type') == "url") 103 out += separator + $(this).attr('id') + '=' + escape($(this).val()); 104 else if ($(this).attr('type') == "int") 105 out += separator + $(this).attr('id') + '=' + escapeHTML(Number($(this).val())); 106 else if ($(this).attr('type') == "bool") 107 out += separator + $(this).attr('id') + '=' + escapeHTML(($(this).val() == "on")?1:0); 108 else 109 out += separator + $(this).attr('id') + '=' + escapeHTML($(this).val()); 110 separator = '&'; 111 } 112 }); 113 out += '" />'+"\n"; 114 out += '</object>'; 115 $('#player').html(out); 116 117 }; 118 119 120 121 /* =============== UTILS =============== */ 122 123 var escapeHTML = function(str) { 124 str = String(str); 125 str = str.replace(/&/gi, ''); 126 var div = document.createElement("div"); 127 var text = document.createTextNode(''); 128 div.appendChild(text); 129 text.data = str; 130 var result = div.innerHTML; 131 result = result.replace(/"/gi, '"'); 132 return result; 133 } -
plugins/flvplayerconfig/trunk/js/post.js
r2890 r3054 2 2 * This file is part of flvplayerconfig, a plugin for Dotclear 2. 3 3 * 4 * Copyright (c) 201 0 Rasibus Masterand contributors5 * postmaster@rasib.us4 * Copyright (c) 2011 lipki and contributors 5 * kevin@lepeltier.info 6 6 * 7 7 * Licensed under the GPL version 2.0 license. … … 9 9 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 10 10 * -- END LICENSE BLOCK ------------------------------------*/ 11 11 12 12 13 jsToolBar.prototype.elements.flvplayerconfig = { … … 21 22 window.the_toolbar=this; 22 23 this.elements.flvplayerconfig.data={}; 23 var p_win=window.open(this.elements.flvplayerconfig.open_url,'dc_popup','alwaysRaised=yes,dependent=yes,toolbar=yes,height=600,width=810, '+'menubar=no,resizable=no,scrollbars=no,status=no');24 var p_win=window.open(this.elements.flvplayerconfig.open_url,'dc_popup','alwaysRaised=yes,dependent=yes,toolbar=yes,height=600,width=810,menubar=no,resizable=no,scrollbars=yes,status=no'); 24 25 } 25 26 }; -
plugins/flvplayerconfig/trunk/media.php
r2890 r3054 1 <?php if (!defined('DC_CONTEXT_ADMIN')) {return;}1 <?php 2 2 # -- BEGIN LICENSE BLOCK ---------------------------------- 3 3 # This file is part of flvplayerconfig, a plugin for Dotclear 2. 4 4 # 5 # Copyright (c) 2010 lipkiand contributors6 # kevin@lepeltier.info5 # Copyright (c) 2010 Rasibus Master and contributors 6 # postmaster@rasib.us 7 7 # 8 8 # Licensed under the GPL version 2.0 license. … … 11 11 # -- END LICENSE BLOCK ------------------------------------ 12 12 13 if (!defined('DC_CONTEXT_ADMIN')) {return;} 14 /** 15 * @author kévin lepeltier [lipki] (kevin@lepeltier.info) 16 * @license http://creativecommons.org/licenses/by-sa/3.0/deed.fr 17 */ 18 13 19 /* HTML page 14 20 -------------------------------------------------------- */ 15 require_once dirname(__FILE__).'/../../inc/admin/prepend.php';16 21 17 22 dcPage::check('media,media_admin');
Note: See TracChangeset
for help on using the changeset viewer.