Ignore:
Timestamp:
Sep 7, 2015, 10:20:18 AM (9 years ago)
Author:
jdd
Message:

uvelle version beta3 au 20150907

Location:
extensions/charlies_content
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • extensions/charlies_content/Changelog.txt.php

    r29063 r31305  
    33Plugin Name: Charlies content
    44** History **
     5
     620150829 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
     8I much simplyfied flv player, it seems to work in most browsers.
    59
    61020140721 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)
     
    2428As 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.
    2529
    26 The fisrt unimportant change is to create this beta version, please use the othe VDigital version for normal use.
     30The fisrt unimportant change is to create this beta version, please use the other VDigital version for normal use.
    2731
    2832
  • extensions/charlies_content/charlie_flvstreamer.tpl

    r3974 r31305  
    11<!-- /charlie_flvstreamer.tpl -->
     2
     3<br />
    24{*
    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/
     5640 360, 320 180, 480 270...
    66*}
    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`"}
    137
    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)}&amp;loop=1{/if}{* -
    24                                         *}{if ($Charlies.autoload==1)}&amp;autoload=1{/if}{* -
    25                                         *}{if ($Charlies.autoplay==1)}&amp;autoplay=1{/if}{* -
    26                                         *}{if ($Charlies.full==1)}&amp;showfullscreen=1{/if}{* -
    27                                         *}{if $Charlies.forced_width!=''}&amp;width={$Charlies.forced_width}{/if}{* -
    28                                         *}{if $Charlies.forced_height!=''}&amp;height={$Charlies.forced_height}{/if}{* -
    29                                         *}{if ($Charlies.volume!='')}&amp;volume={$Charlies.volume}{/if}{* -
    30                                         *}{if ($Charlies.onclick!='')}&amp;onclick={$Charlies.onclick}{/if}{* -
    31                                         *}{if ($Charlies.onclicktarget==1)}&amp;onclicktarget=_blank{/if}{* -
    32                                         *}{if ($Charlies.ondoubleclick!='')}&amp;ondoubleclick={$Charlies.ondoubleclick}{/if}{* -
    33                                         *}{if ($Charlies.ondoubleclicktarget==1)}&amp;ondoubleclicktarget=_blank{/if}{* -
    34                                 Buffering
    35                                         *}{if $Charlies.buffer!=''}&amp;buffer={$Charlies.buffer}{/if}{* -
    36                                         *}&amp;buffermessage={$Charlies.buffermessage}&amp;buffercolor={$Charlies.color5|substr:1}{* -
    37                                         *}{if ($Charlies.buffershowbg==1)}&amp;buffershowbg=1&amp;bufferbgcolor={$Charlies.color6|substr:1}{/if}{* -
    38                                 Config by element
    39                                         *}{if ($Charlies.config==1)}&amp;config={$SRC_IMG_ENCODED|substr:0:-3}txt{/if}{* -
    40                                         *}{if ($Charlies.configxml==1)}&amp;configxml={$SRC_IMG_ENCODED|substr:0:-3}xml{/if}{* -
    41                                 Skin
    42                                         *}{if $Charlies.margin!=''}&amp;margin={$Charlies.margin}{/if}{* -
    43                                         *}{if $Charlies.skin!=''}&amp;skin={$Charlies.skin}{/if}{* -
    44                                 Titleling
    45                                         *}{if $Charlies.title!=''}&amp;title={$Charlies.title}&amp;titlecolor={$Charlies.color7|substr:1}{/if}{* -
    46                                         *}{if $Charlies.titlesize!=''}&amp;titlesize={$Charlies.titlesize}{/if}{* -
    47                                         *}{if $Charlies.start_image!=''}&amp;startimage={$Charlies.start_image}{/if}{* -
    48                                         *}{if ($Charlies.showtitleandstartimage==1)}&amp;showtitleandstartimage=1{/if}{* -
    49                                         *}{if ($Charlies.showiconplay==1)}&amp;showiconplay=1{/if}{* -
    50                                         *}{if ($Charlies.iconplaybgalpha!='')}&amp;iconplaybgalpha={$Charlies.iconplaybgalpha}{/if}{* -
    51                                         *}{if ($Charlies.top1!='')}&amp;top1={$Charlies.top1}{/if}{* -
    52                                 Subtitleling
    53                                         *}{if ($Charlies.srt==1)}&amp;srt=1&amp;srtcolor={$Charlies.color8|substr:1}{* -
    54                                         *}&amp;srtcolor={$Charlies.color9|substr:1}{/if}{* -
    55                                         *}{if ($Charlies.srtsize!='')}&amp;srtsize={$Charlies.srtsize}{/if}{* -
    56                                         *}{if ($Charlies.srturl!='')}&amp;srturl={$Charlies.srturl}{/if}{* -
    57                                 Player and Buttons
    58                                         *}{if ($Charlies.showplayer==1)}&amp;showplayer=autohide{/if}{* -
    59                                         *}{if ($Charlies.showplayer==2)}&amp;showplayer=always{/if}{* -
    60                                         *}{if ($Charlies.showplayer==0)}&amp;showplayer=never{/if}{* -
    61                                         *}{if ($Charlies.showloading==1)}&amp;showloading=autohide{/if}{* -
    62                                         *}{if ($Charlies.showloading==2)}&amp;showloading=always{/if}{* -
    63                                         *}{if ($Charlies.showloading==0)}&amp;showloading=never{/if}{* -
    64                                         *}{if ($Charlies.showmouse==1)}&amp;showmouse=autohide{/if}{* -
    65                                         *}{if ($Charlies.showmouse==2)}&amp;showmouse=always{/if}{* -
    66                                         *}{if ($Charlies.showmouse==0)}&amp;showmouse=never{/if}{* -
    67                                         *}{if ($Charlies.showtime>0)}&amp;showtime={$Charlies.showtime}{/if}{* -
    68                                         *}{if ($Charlies.playeralpha!='')}&amp;playeralpha={$Charlies.playeralpha}{/if}{* -
    69                                         *}{if isset($Charlies.playertimeout)}&amp;playertimeout={$Charlies.playertimeout}{/if}{* -
    70                                         *}{if ($Charlies.showstop==1)}&amp;showstop=1{/if}{* -
    71                                         *}{if ($Charlies.showvolume==1)}&amp;showvolume=1{/if}{* -
    72                                         *}{if ($Charlies.showswitchsubtitles==1)}&amp;showswitchsubtitles=1{/if}{* -
    73                                         *}{if $Charlies.loadonstop==1}&amp;loadonstop=1{/if}{* -
    74                                         *}{if ($Charlies.shortcut!='')}&amp;shortcut={$Charlies.shortcut}{/if}{* -
    75                                 Miscellaneous
    76                                         *}{if ($Charlies.phpstream==1)}&amp;phpstream=1{/if}{* -
    77                                         *}{if ($Charlies.netconnection!='')}&amp;netconnection={$Charlies.netconnection}{/if}{* -
    78                                 Colors
    79                                         *}&amp;bgcolor={$Charlies.color0|substr:1}{* -
    80                                         *}&amp;bgcolor1={$Charlies.color1|substr:1}{* -
    81                                         *}&amp;bgcolor2={$Charlies.color2|substr:1}{* -
    82                                         *}&amp;buttoncolor={$Charlies.color3|substr:1}{* -
    83                                         *}&amp;buttonovercolor={$Charlies.color4|substr:1}{* -
    84                                         *}&amp;playercolor={$Charlies.color10|substr:1}{* -
    85                                         *}&amp;loadingcolor={$Charlies.color11|substr:1}{* -
    86                                         *}&amp;slidercolor1={$Charlies.color12|substr:1}{* -
    87                                         *}&amp;slidercolor2={$Charlies.color13|substr:1}{* -
    88                                         *}&amp;sliderovercolor={$Charlies.color14|substr:1}{* -
    89                                         *}&amp;videobgcolor={$Charlies.color0|substr:1}{* -
    90                                         *}&amp;iconplaycolor={$Charlies.color15|substr:1}{* -
    91                                         *}&amp;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"
     12width="{$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}&amp;&amp;autoload=1&amp;autoplay=1&amp;showstop=1&amp;showvolume=1&amp;showtime=2" />
     16</object>
    9617{html_head}
     18
    9719<link rel="stylesheet" type="text/css" href="{$CHARLIES_PATH|@cat:'charlies.css'}">
     20
    9821{/html_head}
  • extensions/charlies_content/charlie_mp3player.tpl

    r29054 r31305  
    11<!-- /charlie_mp3player.tpl -->
    22{*
    3 http://www.alsacreations.fr/dewplayer.html
     3mp3 players, using html5
    44*}
    55<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)}&amp;autostart=1{/if}&amp;bgcolor={$Charlies.color0|substr:1}&amp;volume={$Charlies.volume}">
    13                             <param name="movie" value="{$pwg_root}plugins/charlies_content/dewplayer.swf?son={$SRC_IMG_ENCODED}{* -
    14                                         *}{if ($Charlies.autoplay==1)}&amp;autostart=1{/if}&amp;bgcolor={$Charlies.color0|substr:1}&amp;volume={$Charlies.volume}">
    15                         </object>
    16                 </div>
    17         </div>
    18 </div>
     6
     7 <audio controls autoplay>
     8  <source src="{$SRC_IMG}" type="audio/mpeg">
     9Your browser does not support the audio element.
     10</audio>
     11
    1912{html_head}
    2013<link rel="stylesheet" type="text/css" href="{$CHARLIES_PATH|@cat:'charlies.css'}">
  • extensions/charlies_content/charlie_quicktime.tpl

    r29062 r31305  
    3838</object>
    3939-->
    40 
    41 <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab"     width="640" height="398">
     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">
    4242 <param name="src" value="{$SRC_IMG}">
    4343 <param name="autoplay" value="true">
    4444 <param name="pluginspage" value="http://www.apple.com/quicktime/download/">
    4545 <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/"
    4849     src="{$SRC_IMG}"
    4950     width="640"
    50      height="398"
     51     height="360"
    5152     autoplay="true"
    5253     Scale="ToFit"
  • extensions/charlies_content/language/de_DE/plugin.lang.php

    r30607 r31305  
    2121$lang['Margin is out of range (Correct range: 0-40)'] = 'Die Randbreite ist ausserhalb des erlaubten Wertebereichs (0-40)';
    2222$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)';
    2424$lang['Player transparency is out of range (Correct range: 0-100)'] = 'Die Durchsichtigkeite des Players ist ausserhalb des erlaubten Wertebereichs (0-100)';
    2525$lang['Subtitle font size is out of range (Correct range: 8-24)'] = 'Die Schriftgröße der Untertitel ist ausserhalb des erlaubten Wertebereichs (8-24)';
     
    3737//tab1 : templates
    3838$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:';
    4040$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:';
    4141//tab2 : options
    42 $lang['Charlies players configuration'] = 'Charlies Player-Einstellung';
     42$lang['Charlies players configuration'] = 'Charlies Player Konfiguration';
    4343$lang['General options'] = 'Allgemeine Optionen';
    4444$lang['Buffering'] = 'Zwischenspeicherung';
     
    5050$lang['Miscellaneous'] = 'Weiteres';
    5151//tab2 : options -> subtab1 : General options
    52 $lang['Autoload'] = 'Automatisch laden';
    53 $lang['Display first picture'] = 'Erstes Bild anzeigen';
    54 $lang['Autoplay'] = 'Automatisch abspielen';
     52$lang['Autoload'] = 'Autoload';
     53$lang['Display first picture'] = 'Zeige erstes Bild';
     54$lang['Autoplay'] = 'Autoplay';
    5555$lang['Loop'] = 'Wiederholung';
    5656$lang['Fullscreen'] = 'Vollbild';
     
    9999//tab2 : options -> subtab7 : Player and Buttons
    100100$lang['Show player'] = 'Zeige Player';
    101 $lang['Autohide'] = 'Automatisch ausblenden';
     101$lang['Autohide'] = 'Autohide';
    102102$lang['Always'] = 'Immer';
    103103$lang['Never'] = 'Nie';
     
    129129$lang['Top border fading'] = 'Aublendung oberere Rand';
    130130$lang['Player'] = 'Player';
    131 $lang['Bottom border fading'] = 'Unterer Rand ausblenden';
     131$lang['Bottom border fading'] = 'Ausblendung unterer Rand';
    132132$lang['Loading bar'] = 'Ladebalken';
    133133$lang['Player buttons'] = 'Player-schaltflächen';
     
    135135$lang['Hover player buttons'] = 'Schwebende Player-schalftflächen';
    136136$lang['Rightbar gradient fading'] = 'Verlauf Ausblendung rechter Balken';
    137 $lang['Buffer'] = 'Zwischenspeicher';
     137$lang['Buffer'] = 'Buffer';
    138138$lang['Hover bar gradient'] = 'Schwebebalkenverlauf';
    139 $lang['Buffer background'] = 'Zwischenspeicher-Hintergrund';
     139$lang['Buffer background'] = 'Bufferhintergrund';
    140140$lang['Play icon'] = 'Spielicon';
    141141$lang['Title'] = 'Titel';
     
    148148$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.';
    149149
    150 $lang['Autohide delay ']['0-9999'] = 'Autohide-Verzögerung [0-9999]';
     150?>
  • extensions/charlies_content/language/nl_NL/plugin.lang.php

    r29148 r31305  
    3737$lang['Play icon'] = 'Afspeel icoon';
    3838$lang['Player and Buttons'] = 'Speler en knoppen';
    39 $lang['Player buttons'] = 'Spelersknoppen';
     39$lang['Player buttons'] = 'Speler knoppen';
    4040$lang['Player'] = 'Speler';
    41 $lang['Players options'] = 'Spelersopties';
     41$lang['Players options'] = 'Spelers opties';
    4242$lang['RTMP server URL'] = 'RTMP server URL';
    4343$lang['Reset ALL Charlies\' configuration'] = 'Reset ALLE Charlies\' configuratie';
     
    7777$lang['Forced video height'] = 'Verplichte video hoogte';
    7878$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)';
    8080$lang['Show subtitles switch'] = 'Toon ondertiteling knop';
    8181$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'] = 'Spelerstransparentie [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';
    8585$lang['Time left'] = 'Tijd over';
    8686$lang['Templates configuration'] = 'Sjabloon configuratie';
     
    107107$lang['Curtain selection'] = 'Overgangen';
    108108$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)';
    110110$lang['Players colors'] = 'Spelerskleuren';
    111111$lang['Players colours selection'] = 'Spelerskleuren-selectie';
     
    126126$lang['Video buffer background'] = 'Videobuffer achtergrond';
    127127$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';
    129129$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)';
    130130$lang['(URL of a non progressive jpg)'] = '(De URL van een niet-progressieve jpg)';
    131131$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  
    4343{
    4444        $default = array(
    45                         'autoload'                      => 1,
     45                        'autoload'                      => 0,
    4646                        'autoplay'                      => 1,
    4747                        'loop'                                  => 1,
     
    4949                        'forced_width'                  => '',
    5050                        'forced_height'                 => '',
    51                         'video_default_width'   =>  320,
    52                         'video_default_height'  =>  240,
     51                        'video_default_width'   =>  '',
     52                        'video_default_height'  =>  '',
    5353                        'volume'                                => 150,
    5454                        'onclick'                               => 'playpause',
     
    6161                        'config'                                => 0,
    6262                        'configxml'                     => 0,
    63                         'margin'                                => 8,
     63                        'margin'                                => 2,
    6464                        'skin'                                  => '', /* './plugins/charlies_content/skin.jpg', */
    6565                        'title'                                 => '/n/n/nCharlies\'s content ',
     
    8484                        'curtain'                               => 'none',
    8585                        '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',
    10386                );
    10487        if (!isset($charlie['version'])) $charlie = $default;
    10588        else $charlie = array_merge( $default, $charlie );
    10689        if (!isset($charlie['FlvStreamer']))    $charlie['FlvStreamer'] = array('flv',);
     90        if (!isset($charlie['html5']))  $charlie['html5'] = array('mp4',);
    10791        if (!isset($charlie['Flash']))                  $charlie['Flash'] = array('swf',);
    10892        if (!isset($charlie['Music']))                  $charlie['Music'] = array('pls','m3u','wav','mid','au','aif',);
     
    11195        if (!isset($charlie['WMplayer']))               $charlie['WMplayer'] = array('asf','wmv','divx','xvid',);
    11296        if (!isset($charlie['QuickTime']))              $charlie['QuickTime'] =
    113         array('aiff','aac','bmp','gsm','mov','mpg','mpeg','mp4','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');
    11498        if (!isset($charlie['Archive']))                $charlie['Archive'] = array('zip','rar',);
    11599        if (!isset($charlie['GPS']))                    $charlie['GPS'] = array('gpx',);
     
    127111   * like for Flash => ./plugings/charlies_content/flash_content.tpl
    128112   *
    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)
    130114   */
    131115
     
    139123# $charlie['all'] = $all;
    140124add_event_handler('render_element_content', 'render_Charlie_element_content', 40, 2 );
    141 #add_event_handler('get_admin_plugin_menu_links', 'Charlie_plugin_admin_menu');
    142125
    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 active
    154  */
    155126function render_Charlie_element_content($content, $picture)
    156127{
Note: See TracChangeset for help on using the changeset viewer.