Changeset 3974 for extensions/charlies_content
- Timestamp:
- Oct 4, 2009, 3:35:30 PM (15 years ago)
- Location:
- extensions/charlies_content
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/charlies_content/charlie_flvstreamer.tpl
r3318 r3974 3 3 If you don't plan to play flv files on your web site, 4 4 change player by the one you want 5 Based on documention from http:// bluebird.univ-reunion.fr/fms/proto/flv-stream-player/5 Based on documention from http://flv-player.net/players/maxi/documentation/ 6 6 *} 7 7 <br /> … … 34 34 Buffering 35 35 *}{if $Charlies.buffer!=''}&buffer={$Charlies.buffer}{/if}{* - 36 *} {if ($Charlies.buffermessage==1)}&buffermessage=1&buffercolor={$Charlies.color5|substr:1}{/if}{* -36 *}&buffermessage={$Charlies.buffermessage}&buffercolor={$Charlies.color5|substr:1}{* - 37 37 *}{if ($Charlies.buffershowbg==1)}&buffershowbg=1&bufferbgcolor={$Charlies.color6|substr:1}{/if}{* - 38 38 Config by element -
extensions/charlies_content/charlies.inc.php
r3341 r3974 32 32 if (isset($conf['NO_https']) and $conf['NO_https'] and strncasecmp($url, 'https://', 8) == 0 ) 33 33 $url = 'http://' . substr($url, 8); 34 34 35 35 if (!isset($conf['video_default_width'])) $conf['video_default_width'] = $charlie['video_default_width']; 36 36 if (!isset($conf['video_default_height'])) $conf['video_default_height'] = $charlie['video_default_height']; -
extensions/charlies_content/charlies_config.tpl
r3318 r3974 126 126 <li> 127 127 <span class="property">{'Video buffer percent message'|@translate}</span> 128 <input type="radio" value="1" name="buffermessage" {if ($Charlies.buffermessage==1)} checked="checked" {/if}/>{'On'|@translate} 129 <input type="radio" value="0" name="buffermessage" {if ($Charlies.buffermessage==0)} checked="checked" {/if}/>{'Off'|@translate} 128 <input type="text" size="32" id="buffermessage" name="buffermessage" value="{$Charlies.buffermessage}" title="{'Buffering _n_'|@translate}" /> 130 129 </li> 131 130 <li> -
extensions/charlies_content/main.inc.php
r3341 r3974 1 1 <?php /* 2 2 Plugin Name: Charlies content 3 Version: 2.0. d3 Version: 2.0.e 4 4 Description: Charlies content is a global solution for none picture files. 5 5 Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=119 … … 11 11 2 - A template is used in state of the default content 12 12 13 Localisation of Charlies content: Possible 14 15 Requirements/recommendations: 16 1 - php 5 17 2 - GETID3 php modules (James Heinrich, Allan Hansen) 18 3 - $charlie['xxxxx']=array(....extensions....) means: 19 if file extension is in the array a file charlie_xxxxx.tpl will be used and 20 must be in the charlies_content directory 13 Dependencies: 14 http://getid3.sourceforge.net/ 15 http://flv-player.net/players/maxi/documentation/ 21 16 22 17 /** History *************** 18 2009-05-24 2.0.e (Called ngoc version) 19 buffermessage correction for flv 20 The lumenation bypass is maintain (but no longer needed with recent Piwigo versions) 21 getID3 v2.0.0-b5 not tested => Still in v2.0.0-b4 23 22 2009-05-24 2.0.d (Called lumenation bypass) 24 23 some url were generated with https:// … … 57 56 define('CHARLIES_DIR' , basename(dirname(__FILE__))); 58 57 define('CHARLIES_PATH' , PHPWG_PLUGINS_PATH . CHARLIES_DIR . '/'); 59 define('CHARLIES_VER' , '2.0. d');58 define('CHARLIES_VER' , '2.0.e'); 60 59 $x = @file_get_contents( $conf['local_data_dir'].'/plugins/'.basename(dirname(__FILE__)).'.dat'); 61 60 if ($x!==false) $charlie = unserialize($x); … … 87 86 if (!isset($charlie['ondoubleclicktarget'])) $charlie['ondoubleclicktarget'] = 0; 88 87 if (!isset($charlie['buffer'])) $charlie['buffer'] = 10; 89 if (!isset($charlie['buffermessage'])) $charlie['buffermessage'] = 1; 88 if (!isset($charlie['buffermessage'])) $charlie['buffermessage'] = 'Buffering _n_'; 89 if ($charlie['buffermessage']==1) $charlie['buffermessage'] = 'Buffering _n_'; 90 90 if (!isset($charlie['buffershowbg'])) $charlie['buffershowbg'] = 0; 91 91 if (!isset($charlie['config'])) $charlie['config'] = 0;
Note: See TracChangeset
for help on using the changeset viewer.