[3318] | 1 | <!-- /charlie_flvstreamer.tpl --> |
---|
| 2 | {* |
---|
| 3 | If you don't plan to play flv files on your web site, |
---|
| 4 | change player by the one you want |
---|
[3974] | 5 | Based on documention from http://flv-player.net/players/maxi/documentation/ |
---|
[3318] | 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 | |
---|
| 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}{* - |
---|
[3974] | 36 | *}&buffermessage={$Charlies.buffermessage}&buffercolor={$Charlies.color5|substr:1}{* - |
---|
[3318] | 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> |
---|
| 96 | {html_head} |
---|
| 97 | <link rel="stylesheet" type="text/css" href="{$CHARLIES_PATH|@cat:'charlies.css'}"> |
---|
| 98 | {/html_head} |
---|