Changeset 31305
- Timestamp:
- Sep 7, 2015, 10:20:18 AM (9 years ago)
- Location:
- extensions/charlies_content
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/charlies_content/Changelog.txt.php
r29063 r31305 3 3 Plugin Name: Charlies content 4 4 ** History ** 5 6 20150829 updated this file. Charlies go to html5 whereever it's possible. It should work for mp4 and mp3 in most if not all (html5 compatible) browsers. Options screen in piwigo disabled (never worked). The aspect is not very nice but it works, with very simple code. mp3 have no options. mp4 have size option. Change it by editing directly the charlie_html5.tpl. One can add image to the mp3 menu if he want in the usual way (like photos), but most of the time is should not be necessary. 7 8 I much simplyfied flv player, it seems to work in most browsers. 5 9 6 10 20140721 fixed quicktime player (at least mov and mp4), with fixed height and width (640x360+controls. wmv works but with half the size (I don't know why) … … 24 28 As jdd, I try to maintain charlie's Contents plugin. But I'm not a real programmer, so I may do important mistakes. If you find one, do not hesitate to write to me at jdd@dodin.org, thanks. 25 29 26 The fisrt unimportant change is to create this beta version, please use the othe VDigital version for normal use.30 The fisrt unimportant change is to create this beta version, please use the other VDigital version for normal use. 27 31 28 32 -
extensions/charlies_content/charlie_flvstreamer.tpl
r3974 r31305 1 1 <!-- /charlie_flvstreamer.tpl --> 2 3 <br /> 2 4 {* 3 If you don't plan to play flv files on your web site, 4 change player by the one you want 5 Based on documention from http://flv-player.net/players/maxi/documentation/ 5 640 360, 320 180, 480 270... 6 6 *} 7 <br />8 {if $Charlies.forced_width!=''}{assign var="resolution_x" value="`$Charlies.forced_width`"}9 {else}{assign var="resolution_x" value="`$fileinfo.video.resolution_x`"}{/if}10 {if $Charlies.forced_height!=''}{assign var="resolution_y" value="`$Charlies.forced_height`"}11 {else}{assign var="resolution_y" value="`$fileinfo.video.resolution_y`"}{/if}12 {assign var="main_width" value="`$resolution_x+$by_style+$by_style`"}13 7 14 <div id="charlie" style="height: {$resolution_y}px; width:{$main_width}px; padding-top: 0px; margin-top: 0px;"> 15 <div class="{$curtain}_1" style="padding-left:{$by_style}px;"> 16 <div class="{$curtain}_2" style="padding-right:{$by_style}px;"> 17 <object type="application/x-shockwave-flash" data="{$pwg_root}plugins/charlies_content/player_flv_maxi.swf" 18 width="{$resolution_x}" height="{$resolution_y}"> 19 <param name="movie" value="{$pwg_root}plugins/charlies_content/player_flv_maxi.swf" /> 20 {if ($Charlies.full==1)}<param name="allowFullScreen" value="true" />{/if} 21 <param name="FlashVars" value="flv={$SRC_IMG_ENCODED}{* - 22 General options 23 *}{if ($Charlies.loop==1)}&loop=1{/if}{* - 24 *}{if ($Charlies.autoload==1)}&autoload=1{/if}{* - 25 *}{if ($Charlies.autoplay==1)}&autoplay=1{/if}{* - 26 *}{if ($Charlies.full==1)}&showfullscreen=1{/if}{* - 27 *}{if $Charlies.forced_width!=''}&width={$Charlies.forced_width}{/if}{* - 28 *}{if $Charlies.forced_height!=''}&height={$Charlies.forced_height}{/if}{* - 29 *}{if ($Charlies.volume!='')}&volume={$Charlies.volume}{/if}{* - 30 *}{if ($Charlies.onclick!='')}&onclick={$Charlies.onclick}{/if}{* - 31 *}{if ($Charlies.onclicktarget==1)}&onclicktarget=_blank{/if}{* - 32 *}{if ($Charlies.ondoubleclick!='')}&ondoubleclick={$Charlies.ondoubleclick}{/if}{* - 33 *}{if ($Charlies.ondoubleclicktarget==1)}&ondoubleclicktarget=_blank{/if}{* - 34 Buffering 35 *}{if $Charlies.buffer!=''}&buffer={$Charlies.buffer}{/if}{* - 36 *}&buffermessage={$Charlies.buffermessage}&buffercolor={$Charlies.color5|substr:1}{* - 37 *}{if ($Charlies.buffershowbg==1)}&buffershowbg=1&bufferbgcolor={$Charlies.color6|substr:1}{/if}{* - 38 Config by element 39 *}{if ($Charlies.config==1)}&config={$SRC_IMG_ENCODED|substr:0:-3}txt{/if}{* - 40 *}{if ($Charlies.configxml==1)}&configxml={$SRC_IMG_ENCODED|substr:0:-3}xml{/if}{* - 41 Skin 42 *}{if $Charlies.margin!=''}&margin={$Charlies.margin}{/if}{* - 43 *}{if $Charlies.skin!=''}&skin={$Charlies.skin}{/if}{* - 44 Titleling 45 *}{if $Charlies.title!=''}&title={$Charlies.title}&titlecolor={$Charlies.color7|substr:1}{/if}{* - 46 *}{if $Charlies.titlesize!=''}&titlesize={$Charlies.titlesize}{/if}{* - 47 *}{if $Charlies.start_image!=''}&startimage={$Charlies.start_image}{/if}{* - 48 *}{if ($Charlies.showtitleandstartimage==1)}&showtitleandstartimage=1{/if}{* - 49 *}{if ($Charlies.showiconplay==1)}&showiconplay=1{/if}{* - 50 *}{if ($Charlies.iconplaybgalpha!='')}&iconplaybgalpha={$Charlies.iconplaybgalpha}{/if}{* - 51 *}{if ($Charlies.top1!='')}&top1={$Charlies.top1}{/if}{* - 52 Subtitleling 53 *}{if ($Charlies.srt==1)}&srt=1&srtcolor={$Charlies.color8|substr:1}{* - 54 *}&srtcolor={$Charlies.color9|substr:1}{/if}{* - 55 *}{if ($Charlies.srtsize!='')}&srtsize={$Charlies.srtsize}{/if}{* - 56 *}{if ($Charlies.srturl!='')}&srturl={$Charlies.srturl}{/if}{* - 57 Player and Buttons 58 *}{if ($Charlies.showplayer==1)}&showplayer=autohide{/if}{* - 59 *}{if ($Charlies.showplayer==2)}&showplayer=always{/if}{* - 60 *}{if ($Charlies.showplayer==0)}&showplayer=never{/if}{* - 61 *}{if ($Charlies.showloading==1)}&showloading=autohide{/if}{* - 62 *}{if ($Charlies.showloading==2)}&showloading=always{/if}{* - 63 *}{if ($Charlies.showloading==0)}&showloading=never{/if}{* - 64 *}{if ($Charlies.showmouse==1)}&showmouse=autohide{/if}{* - 65 *}{if ($Charlies.showmouse==2)}&showmouse=always{/if}{* - 66 *}{if ($Charlies.showmouse==0)}&showmouse=never{/if}{* - 67 *}{if ($Charlies.showtime>0)}&showtime={$Charlies.showtime}{/if}{* - 68 *}{if ($Charlies.playeralpha!='')}&playeralpha={$Charlies.playeralpha}{/if}{* - 69 *}{if isset($Charlies.playertimeout)}&playertimeout={$Charlies.playertimeout}{/if}{* - 70 *}{if ($Charlies.showstop==1)}&showstop=1{/if}{* - 71 *}{if ($Charlies.showvolume==1)}&showvolume=1{/if}{* - 72 *}{if ($Charlies.showswitchsubtitles==1)}&showswitchsubtitles=1{/if}{* - 73 *}{if $Charlies.loadonstop==1}&loadonstop=1{/if}{* - 74 *}{if ($Charlies.shortcut!='')}&shortcut={$Charlies.shortcut}{/if}{* - 75 Miscellaneous 76 *}{if ($Charlies.phpstream==1)}&phpstream=1{/if}{* - 77 *}{if ($Charlies.netconnection!='')}&netconnection={$Charlies.netconnection}{/if}{* - 78 Colors 79 *}&bgcolor={$Charlies.color0|substr:1}{* - 80 *}&bgcolor1={$Charlies.color1|substr:1}{* - 81 *}&bgcolor2={$Charlies.color2|substr:1}{* - 82 *}&buttoncolor={$Charlies.color3|substr:1}{* - 83 *}&buttonovercolor={$Charlies.color4|substr:1}{* - 84 *}&playercolor={$Charlies.color10|substr:1}{* - 85 *}&loadingcolor={$Charlies.color11|substr:1}{* - 86 *}&slidercolor1={$Charlies.color12|substr:1}{* - 87 *}&slidercolor2={$Charlies.color13|substr:1}{* - 88 *}&sliderovercolor={$Charlies.color14|substr:1}{* - 89 *}&videobgcolor={$Charlies.color0|substr:1}{* - 90 *}&iconplaycolor={$Charlies.color15|substr:1}{* - 91 *}&iconplaybgcolor={$Charlies.color16|substr:1}" /> 92 </object> 93 </div> 94 </div> 95 </div> 8 {assign var="jdd_width" value="480"} 9 {assign var="jdd_height" value="270"} 10 11 <object type="application/x-shockwave-flash" data="http://flv-player.net/medias/player_flv_maxi.swf" 12 width="{$jdd_width}" height="{$jdd_height}"> 13 <param name="movie" value="{$pwg_root}plugins/charlies_content/player_flv_maxi.swf" /> 14 <param name="allowFullScreen" value="true" /> 15 <param name="FlashVars" value="flv={$SRC_IMG}&&autoload=1&autoplay=1&showstop=1&showvolume=1&showtime=2" /> 16 </object> 96 17 {html_head} 18 97 19 <link rel="stylesheet" type="text/css" href="{$CHARLIES_PATH|@cat:'charlies.css'}"> 20 98 21 {/html_head} -
extensions/charlies_content/charlie_mp3player.tpl
r29054 r31305 1 1 <!-- /charlie_mp3player.tpl --> 2 2 {* 3 http://www.alsacreations.fr/dewplayer.html 3 mp3 players, using html5 4 4 *} 5 5 <br /> 6 {assign var="main_width" value="`$by_style+$by_style+200`"} 7 <div id="charlie" style="height: 64px; width:{$main_width}px; padding-top: 0px; margin-top: 0px;"> 8 <div class="{$curtain}_1" style="padding-left:{$by_style}px;"> 9 <div class="{$curtain}_2" style="padding-right:{$by_style}px;height: 64px;min-height: 64px;"> 10 <object type="application/x-shockwave-flash" width="200" height="20" style="margin-top: 22px;" 11 data="{$pwg_root}plugins/charlies_content/dewplayer.swf?son={$SRC_IMG}{* - 12 *}{if ($Charlies.autoplay==1)}&autostart=1{/if}&bgcolor={$Charlies.color0|substr:1}&volume={$Charlies.volume}"> 13 <param name="movie" value="{$pwg_root}plugins/charlies_content/dewplayer.swf?son={$SRC_IMG_ENCODED}{* - 14 *}{if ($Charlies.autoplay==1)}&autostart=1{/if}&bgcolor={$Charlies.color0|substr:1}&volume={$Charlies.volume}"> 15 </object> 16 </div> 17 </div> 18 </div> 6 7 <audio controls autoplay> 8 <source src="{$SRC_IMG}" type="audio/mpeg"> 9 Your browser does not support the audio element. 10 </audio> 11 19 12 {html_head} 20 13 <link rel="stylesheet" type="text/css" href="{$CHARLIES_PATH|@cat:'charlies.css'}"> -
extensions/charlies_content/charlie_quicktime.tpl
r29062 r31305 38 38 </object> 39 39 --> 40 41 <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="640" height="3 98">40 <p>{$SRC_IMG}</p> 41 <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="640" height="360"> 42 42 <param name="src" value="{$SRC_IMG}"> 43 43 <param name="autoplay" value="true"> 44 44 <param name="pluginspage" value="http://www.apple.com/quicktime/download/"> 45 45 <param name="type" value="video/quicktime"> 46 <param name="Scale" value="ToFit" > 47 <embed 46 <param name="Scale" value="ToFit" > 47 48 <embed PluginsPage="http://www.apple.com/quicktime/download/" 48 49 src="{$SRC_IMG}" 49 50 width="640" 50 height="3 98"51 height="360" 51 52 autoplay="true" 52 53 Scale="ToFit" -
extensions/charlies_content/language/de_DE/plugin.lang.php
r30607 r31305 21 21 $lang['Margin is out of range (Correct range: 0-40)'] = 'Die Randbreite ist ausserhalb des erlaubten Wertebereichs (0-40)'; 22 22 $lang['Unknown file (skin)'] = 'Unbekannte Datei (Skin)'; 23 $lang['Autohide delay is out of range (Correct range: 0-9999)'] = 'Die Autohide- Verzögerung ist außerhalb des erlaubten Wertebereichs (0-9999)';23 $lang['Autohide delay is out of range (Correct range: 0-9999)'] = 'Die Autohide-verzögerung ist ausserhalb des erlaubten Wertebereichs (0-9999)'; 24 24 $lang['Player transparency is out of range (Correct range: 0-100)'] = 'Die Durchsichtigkeite des Players ist ausserhalb des erlaubten Wertebereichs (0-100)'; 25 25 $lang['Subtitle font size is out of range (Correct range: 8-24)'] = 'Die Schriftgröße der Untertitel ist ausserhalb des erlaubten Wertebereichs (8-24)'; … … 37 37 //tab1 : templates 38 38 $lang['Charlies player template-mimetype association'] = 'Charlies Player Template-mimetyp-assoziierung'; 39 $lang['Bind your prefered extensions to a template file (player) from:'] = 'Verknüpfen Sie Ihre bevorzugte Erweiterung mit einer Vorlagendatei (Player) von:';39 $lang['Bind your prefered extensions to a template file (player) from:'] = 'Verknüpfen Sie Ihre bevorzugte Erweiterung mit einer Templatedatei (Player) aus:'; 40 40 $lang['Note: These options are available with the Maxi FLV Player. More details on all theses options on:'] = 'Hinweis: Diese Optionen sind mit dem Maxi FLV Player verfügbar. Weitere Details finden Sie unter:'; 41 41 //tab2 : options 42 $lang['Charlies players configuration'] = 'Charlies Player -Einstellung';42 $lang['Charlies players configuration'] = 'Charlies Player Konfiguration'; 43 43 $lang['General options'] = 'Allgemeine Optionen'; 44 44 $lang['Buffering'] = 'Zwischenspeicherung'; … … 50 50 $lang['Miscellaneous'] = 'Weiteres'; 51 51 //tab2 : options -> subtab1 : General options 52 $lang['Autoload'] = 'Auto matisch laden';53 $lang['Display first picture'] = ' Erstes Bild anzeigen';54 $lang['Autoplay'] = 'Auto matisch abspielen';52 $lang['Autoload'] = 'Autoload'; 53 $lang['Display first picture'] = 'Zeige erstes Bild'; 54 $lang['Autoplay'] = 'Autoplay'; 55 55 $lang['Loop'] = 'Wiederholung'; 56 56 $lang['Fullscreen'] = 'Vollbild'; … … 99 99 //tab2 : options -> subtab7 : Player and Buttons 100 100 $lang['Show player'] = 'Zeige Player'; 101 $lang['Autohide'] = 'Auto matisch ausblenden';101 $lang['Autohide'] = 'Autohide'; 102 102 $lang['Always'] = 'Immer'; 103 103 $lang['Never'] = 'Nie'; … … 129 129 $lang['Top border fading'] = 'Aublendung oberere Rand'; 130 130 $lang['Player'] = 'Player'; 131 $lang['Bottom border fading'] = ' Unterer Rand ausblenden';131 $lang['Bottom border fading'] = 'Ausblendung unterer Rand'; 132 132 $lang['Loading bar'] = 'Ladebalken'; 133 133 $lang['Player buttons'] = 'Player-schaltflächen'; … … 135 135 $lang['Hover player buttons'] = 'Schwebende Player-schalftflächen'; 136 136 $lang['Rightbar gradient fading'] = 'Verlauf Ausblendung rechter Balken'; 137 $lang['Buffer'] = ' Zwischenspeicher';137 $lang['Buffer'] = 'Buffer'; 138 138 $lang['Hover bar gradient'] = 'Schwebebalkenverlauf'; 139 $lang['Buffer background'] = ' Zwischenspeicher-Hintergrund';139 $lang['Buffer background'] = 'Bufferhintergrund'; 140 140 $lang['Play icon'] = 'Spielicon'; 141 141 $lang['Title'] = 'Titel'; … … 148 148 $lang['.png without transparency are recommended. Maybe you can change a set of curtains by yours.'] = 'Es werden .png-Dateien ohne Transparenz empfohlen. Wenn gewünscht, können Sie Vorhangsets durch eigene ersetzen.'; 149 149 150 $lang['Autohide delay ']['0-9999'] = 'Autohide-Verzögerung [0-9999]'; 150 ?> -
extensions/charlies_content/language/nl_NL/plugin.lang.php
r29148 r31305 37 37 $lang['Play icon'] = 'Afspeel icoon'; 38 38 $lang['Player and Buttons'] = 'Speler en knoppen'; 39 $lang['Player buttons'] = 'Speler sknoppen';39 $lang['Player buttons'] = 'Speler knoppen'; 40 40 $lang['Player'] = 'Speler'; 41 $lang['Players options'] = 'Spelers opties';41 $lang['Players options'] = 'Spelers opties'; 42 42 $lang['RTMP server URL'] = 'RTMP server URL'; 43 43 $lang['Reset ALL Charlies\' configuration'] = 'Reset ALLE Charlies\' configuratie'; … … 77 77 $lang['Forced video height'] = 'Verplichte video hoogte'; 78 78 $lang['Unknown file (Start image)'] = 'Onbekend bestand (Start afbeelding)'; 79 $lang['Unknown file (skin)'] = 'Onbekend bestand ( opmaak)';79 $lang['Unknown file (skin)'] = 'Onbekend bestand (huid)'; 80 80 $lang['Show subtitles switch'] = 'Toon ondertiteling knop'; 81 81 $lang['You are Adviser and you are not authorized to change this configuration.'] = 'Je bent Adviseur en je bent niet geautoriseerd om veranderingen toe te brengen aan de configuratie.'; 82 $lang['Player transparency ']['0-100'] = 'Speler stransparentie [0-100]';83 $lang['Skin image'] = ' Opmaak-afbeelding';84 $lang['Skin'] = ' Opmaak';82 $lang['Player transparency ']['0-100'] = 'Speler transparentie [0-100]'; 83 $lang['Skin image'] = 'Huid afbeelding'; 84 $lang['Skin'] = 'Huid'; 85 85 $lang['Time left'] = 'Tijd over'; 86 86 $lang['Templates configuration'] = 'Sjabloon configuratie'; … … 107 107 $lang['Curtain selection'] = 'Overgangen'; 108 108 $lang['Play icon transparency is out of range (Correct range: 0-100)'] = 'De transparantie-instelling van het speel-icoon klopt niet. (Juiste mogelijkheden: 0-100)'; 109 $lang['Player transparency is out of range (Correct range: 0-100)'] = 'De transparantie-instelling klopt niet. (Juiste waarden: 0-100)';109 $lang['Player transparency is out of range (Correct range: 0-100)'] = 'De transparantie-instelling klopt niet. (Juiste mogelijkheden: 0-100)'; 110 110 $lang['Players colors'] = 'Spelerskleuren'; 111 111 $lang['Players colours selection'] = 'Spelerskleuren-selectie'; … … 126 126 $lang['Video buffer background'] = 'Videobuffer achtergrond'; 127 127 $lang['Unknown file or URL|x|y error (x and y must be numeric)'] = 'Onbekend bestand of URL|x|y fout (x en y moet numeriek zijn)'; 128 $lang['Top border fading'] = ' Bovenrand vervaging';128 $lang['Top border fading'] = 'Top rand vervagen'; 129 129 $lang['(URL|x|y : where x,y are the offsets to place the picture)'] = '(URL|x|y: waarbij x,y de offsets zijn om de foto te plaatsen)'; 130 130 $lang['(URL of a non progressive jpg)'] = '(De URL van een niet-progressieve jpg)'; 131 131 $lang['(Adobe Systems for streaming audio, video and data)'] = '(Adobe Systems voor streaming audio, video en data)'; 132 $lang['Loading bar'] = 'Laadbalk';133 $lang['Load an image over video'] = 'Laad een foto over video';134 $lang['Invalid color code: 3 or 6 hexadecimal characters, preceded by "#"'] = 'Ongeldige kleurcode: 3 of 6 hexadecimale tekens, voorafgegaan door "#"';135 $lang['.png without transparency are recommended. Maybe you can change a set of curtains by yours.'] = '. png zonder transparantie wordt aanbevolen. Misschien kunt u een gordijnen-set vervangen door de uwe.';136 $lang['Stop stops loading'] = 'Stop stopt het laden';137 $lang['Leftbar gradient fading'] = 'Linker balk vervaging';138 $lang['Rightbar gradient fading'] = 'Rechter balk vervaging';139 $lang['Hover player buttons'] = 'Hover spelersknoppen';140 $lang['Wrong filename. RTMP (Real Time Messaging Protocol) is a TCP based propriety protocol developed by Adobe System for the purpose of streaming Audio/Video data between Flash Player and media server.'] = 'Verkeerde bestandsnaam. RTMP (Real Time Messaging Protocol) is een op TCP gebaseerd protocol, ontwikkeld door Adobe System voor het doel van streaming audio-/video-gegevens tussen Flash Player en media server.';141 $lang['Margin for skin'] = 'Marge voor opmaak';142 $lang['Margin is out of range (Correct range: 0-40)'] = 'Marge is buiten bereik (Correcte waarden: 0-40)';143 $lang['Color usage might be just for information (Players could just ignore them or use them differently)'] = 'Kleurgebruik kan alleen ter informatie zijn (Spelers kunnen deze gewoon negeren of anders gebruiken)';144 $lang['FYI: all these options might be used or NOT by the inbound player (template).'] = 'Ter info: al deze opties kunnen worden gebruikt of juist NIET door de interne speler (sjabloon).';145 $lang['Note: These options are available with the Maxi FLV Player. More details on all theses options on:'] = 'Opm.: Deze opties zijn beschikbaar mbv de Maxi FLV Player. Meer details over deze opties, zie'; -
extensions/charlies_content/main.inc.php
r31304 r31305 43 43 { 44 44 $default = array( 45 'autoload' => 1,45 'autoload' => 0, 46 46 'autoplay' => 1, 47 47 'loop' => 1, … … 49 49 'forced_width' => '', 50 50 'forced_height' => '', 51 'video_default_width' => 320,52 'video_default_height' => 240,51 'video_default_width' => '', 52 'video_default_height' => '', 53 53 'volume' => 150, 54 54 'onclick' => 'playpause', … … 61 61 'config' => 0, 62 62 'configxml' => 0, 63 'margin' => 8,63 'margin' => 2, 64 64 'skin' => '', /* './plugins/charlies_content/skin.jpg', */ 65 65 'title' => '/n/n/nCharlies\'s content ', … … 84 84 'curtain' => 'none', 85 85 'start_image' => CHARLIES_PATH . 'background.jpg', 86 'color0' => '#111111',87 'color1' => '#ff7700',88 'color2' => '#444444',89 'color3' => '#ff3333',90 'color4' => '#ff3363',91 'color5' => '#ff7700',92 'color6' => '#111111',93 'color7' => '#ff3333',94 'color8' => '#ff3363',95 'color9' => '#111111',96 'color10' => '#444444',97 'color11' => '#ff3333',98 'color12' => '#ff3363',99 'color13' => '#ff7700',100 'color14' => '#444444',101 'color15' => '#ff3333',102 'color16' => '#111111',103 86 ); 104 87 if (!isset($charlie['version'])) $charlie = $default; 105 88 else $charlie = array_merge( $default, $charlie ); 106 89 if (!isset($charlie['FlvStreamer'])) $charlie['FlvStreamer'] = array('flv',); 90 if (!isset($charlie['html5'])) $charlie['html5'] = array('mp4',); 107 91 if (!isset($charlie['Flash'])) $charlie['Flash'] = array('swf',); 108 92 if (!isset($charlie['Music'])) $charlie['Music'] = array('pls','m3u','wav','mid','au','aif',); … … 111 95 if (!isset($charlie['WMplayer'])) $charlie['WMplayer'] = array('asf','wmv','divx','xvid',); 112 96 if (!isset($charlie['QuickTime'])) $charlie['QuickTime'] = 113 array('aiff','aac','bmp','gsm','mov','mpg','mpeg','m p4','m4a','psd','qt','qtif','qif','qti','snd','tif','tiff','3g2','3pg','3gp');97 array('aiff','aac','bmp','gsm','mov','mpg','mpeg','m4a','psd','qt','qtif','qif','qti','snd','tif','tiff','3g2','3pg','3gp'); 114 98 if (!isset($charlie['Archive'])) $charlie['Archive'] = array('zip','rar',); 115 99 if (!isset($charlie['GPS'])) $charlie['GPS'] = array('gpx',); … … 127 111 * like for Flash => ./plugings/charlies_content/flash_content.tpl 128 112 * 129 * Player name is in lower-case followed by _content.tpl (non )113 * Player name is in lower-case followed by _content.tpl (non c'est charlie_nomplayer) 130 114 */ 131 115 … … 139 123 # $charlie['all'] = $all; 140 124 add_event_handler('render_element_content', 'render_Charlie_element_content', 40, 2 ); 141 #add_event_handler('get_admin_plugin_menu_links', 'Charlie_plugin_admin_menu');142 125 143 function Charlie_plugin_admin_menu($menu)144 {145 array_push($menu, array(146 'NAME' => 'Charlies\'',147 'URL' => get_admin_plugin_menu_link(dirname(__FILE__).'/charlies_config.php'),148 ));149 return $menu;150 }151 152 /**153 * Only if picture.php is active154 */155 126 function render_Charlie_element_content($content, $picture) 156 127 {
Note: See TracChangeset
for help on using the changeset viewer.