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 |
---|
5 | Based on documention from http://bluebird.univ-reunion.fr/fms/proto/flv-stream-player/ |
---|
6 | *} |
---|
7 | <br /> |
---|
8 | {if $Charlies.forced_width!=''}{assign var="fileinfo.video.resolution_x" value="`$Charlies.forced_width`"}{/if} |
---|
9 | {if $Charlies.forced_height!=''}{assign var="fileinfo.video.resolution_x" value="`$Charlies.forced_height`"}{/if} |
---|
10 | {assign var="main_width" value="`$fileinfo.video.resolution_x+$by_style+$by_style`"} |
---|
11 | |
---|
12 | <div id="charlie" style="height: {$fileinfo.video.resolution_y}px; width:{$main_width}px; padding-top: 0px; margin-top: 0px;"> |
---|
13 | <div class="{$curtain}_1" style="padding-left:{$by_style}px;"> |
---|
14 | <div class="{$curtain}_2" style="padding-right:{$by_style}px;"> |
---|
15 | <object type="application/x-shockwave-flash" data="{$pwg_root}plugins/charlies_content/player_flv_maxi.swf" |
---|
16 | width="{$fileinfo.video.resolution_x}" height="{$fileinfo.video.resolution_y}"> |
---|
17 | <param name="movie" value="{$pwg_root}plugins/charlies_content/player_flv_maxi.swf" /> |
---|
18 | {if ($Charlies.full==1)}<param name="allowFullScreen" value="true" />{/if} |
---|
19 | <param name="FlashVars" value="flv={$SRC_IMG_ENCODED}{* - |
---|
20 | General options |
---|
21 | *}{if ($Charlies.loop==1)}&loop=1{/if}{* - |
---|
22 | *}{if ($Charlies.autoload==1)}&autoload=1{/if}{* - |
---|
23 | *}{if ($Charlies.autoplay==1)}&autoplay=1{/if}{* - |
---|
24 | *}{if ($Charlies.full==1)}&showfullscreen=1{/if}{* - |
---|
25 | *}{if $Charlies.forced_width!=''}&width={$Charlies.forced_width}{/if}{* - |
---|
26 | *}{if $Charlies.forced_height!=''}&height={$Charlies.forced_height}{/if}{* - |
---|
27 | *}{if ($Charlies.volume!='')}&volume={$Charlies.volume}{/if}{* - |
---|
28 | *}{if ($Charlies.onclick!='')}&onclick={$Charlies.onclick}{/if}{* - |
---|
29 | *}{if ($Charlies.onclicktarget==1)}&onclicktarget=_blank{/if}{* - |
---|
30 | *}{if ($Charlies.ondoubleclick!='')}&ondoubleclick={$Charlies.ondoubleclick}{/if}{* - |
---|
31 | *}{if ($Charlies.ondoubleclicktarget==1)}&ondoubleclicktarget=_blank{/if}{* - |
---|
32 | Buffering |
---|
33 | *}{if $Charlies.buffer!=''}&buffer={$Charlies.buffer}{/if}{* - |
---|
34 | *}{if ($Charlies.buffermessage==1)}&buffermessage=1&buffercolor={$Charlies.color5|substr:1}{/if}{* - |
---|
35 | *}{if ($Charlies.buffershowbg==1)}&buffershowbg=1&bufferbgcolor={$Charlies.color6|substr:1}{/if}{* - |
---|
36 | Config by element |
---|
37 | *}{if ($Charlies.config==1)}&config={$SRC_IMG_ENCODED|substr:0:-3}txt{/if}{* - |
---|
38 | *}{if ($Charlies.configxml==1)}&configxml={$SRC_IMG_ENCODED|substr:0:-3}xml{/if}{* - |
---|
39 | Skin |
---|
40 | *}{if $Charlies.margin!=''}&margin={$Charlies.margin}{/if}{* - |
---|
41 | *}{if $Charlies.skin!=''}&skin={$Charlies.skin}{/if}{* - |
---|
42 | Titleling |
---|
43 | *}{if $Charlies.title!=''}&title={$Charlies.title}&titlecolor={$Charlies.color7|substr:1}{/if}{* - |
---|
44 | *}{if $Charlies.titlesize!=''}&titlesize={$Charlies.titlesize}{/if}{* - |
---|
45 | *}{if $Charlies.start_image!=''}&startimage={$Charlies.start_image}{/if}{* - |
---|
46 | *}{if ($Charlies.showtitleandstartimage==1)}&showtitleandstartimage=1{/if}{* - |
---|
47 | *}{if ($Charlies.showiconplay==1)}&showiconplay=1{/if}{* - |
---|
48 | *}{if ($Charlies.iconplaybgalpha!='')}&iconplaybgalpha={$Charlies.iconplaybgalpha}{/if}{* - |
---|
49 | *}{if ($Charlies.top1!='')}&top1={$Charlies.top1}{/if}{* - |
---|
50 | Subtitleling |
---|
51 | *}{if ($Charlies.srt==1)}&srt=1&srtcolor={$Charlies.color8|substr:1}{* - |
---|
52 | *}&srtcolor={$Charlies.color9|substr:1}{/if}{* - |
---|
53 | *}{if ($Charlies.srtsize!='')}&srtsize={$Charlies.srtsize}{/if}{* - |
---|
54 | *}{if ($Charlies.srturl!='')}&srturl={$Charlies.srturl}{/if}{* - |
---|
55 | Player and Buttons |
---|
56 | *}{if ($Charlies.showplayer==1)}&showplayer=autohide{/if}{* - |
---|
57 | *}{if ($Charlies.showplayer==2)}&showplayer=always{/if}{* - |
---|
58 | *}{if ($Charlies.showplayer==0)}&showplayer=never{/if}{* - |
---|
59 | *}{if ($Charlies.showloading==1)}&showloading=autohide{/if}{* - |
---|
60 | *}{if ($Charlies.showloading==2)}&showloading=always{/if}{* - |
---|
61 | *}{if ($Charlies.showloading==0)}&showloading=never{/if}{* - |
---|
62 | *}{if ($Charlies.showmouse==1)}&showmouse=autohide{/if}{* - |
---|
63 | *}{if ($Charlies.showmouse==2)}&showmouse=always{/if}{* - |
---|
64 | *}{if ($Charlies.showmouse==0)}&showmouse=never{/if}{* - |
---|
65 | *}{if ($Charlies.showtime>0)}&showtime={$Charlies.showtime}{/if}{* - |
---|
66 | *}{if ($Charlies.playeralpha!='')}&playeralpha={$Charlies.playeralpha}{/if}{* - |
---|
67 | *}{if isset($Charlies.playertimeout)}&playertimeout={$Charlies.playertimeout}{/if}{* - |
---|
68 | *}{if ($Charlies.showstop==1)}&showstop=1{/if}{* - |
---|
69 | *}{if ($Charlies.showvolume==1)}&showvolume=1{/if}{* - |
---|
70 | *}{if ($Charlies.showswitchsubtitles==1)}&showswitchsubtitles=1{/if}{* - |
---|
71 | *}{if $Charlies.loadonstop==1}&loadonstop=1{/if}{* - |
---|
72 | *}{if ($Charlies.shortcut!='')}&shortcut={$Charlies.shortcut}{/if}{* - |
---|
73 | Miscellaneous |
---|
74 | *}{if ($Charlies.phpstream==1)}&phpstream=1{/if}{* - |
---|
75 | *}{if ($Charlies.netconnection!='')}&netconnection={$Charlies.netconnection}{/if}{* - |
---|
76 | Colors |
---|
77 | *}&bgcolor={$Charlies.color0|substr:1}{* - |
---|
78 | *}&bgcolor1={$Charlies.color1|substr:1}{* - |
---|
79 | *}&bgcolor2={$Charlies.color2|substr:1}{* - |
---|
80 | *}&buttoncolor={$Charlies.color3|substr:1}{* - |
---|
81 | *}&buttonovercolor={$Charlies.color4|substr:1}{* - |
---|
82 | *}&playercolor={$Charlies.color10|substr:1}{* - |
---|
83 | *}&loadingcolor={$Charlies.color11|substr:1}{* - |
---|
84 | *}&slidercolor1={$Charlies.color12|substr:1}{* - |
---|
85 | *}&slidercolor2={$Charlies.color13|substr:1}{* - |
---|
86 | *}&sliderovercolor={$Charlies.color14|substr:1}{* - |
---|
87 | *}&videobgcolor={$Charlies.color0|substr:1}{* - |
---|
88 | *}&iconplaycolor={$Charlies.color15|substr:1}{* - |
---|
89 | *}&iconplaybgcolor={$Charlies.color16|substr:1}" /> |
---|
90 | </object> |
---|
91 | </div> |
---|
92 | </div> |
---|
93 | </div> |
---|
94 | {html_head} |
---|
95 | <link rel="stylesheet" type="text/css" href="{$CHARLIES_PATH|@cat:'charlies.css'}"> |
---|
96 | {/html_head} |
---|