1 | <!-- /charlie_quicktime.tpl --> |
---|
2 | {* |
---|
3 | Based on documentation from http://www.apple.com/quicktime/tutorials/embed.html |
---|
4 | *} |
---|
5 | |
---|
6 | |
---|
7 | {assign var="main_width" value="`640+$by_style+$by_style`"} |
---|
8 | <div id="charlie" style="height: {398}px; width:{$main_width}px; padding-top: 0px; margin-top: 20px;"> |
---|
9 | <div class="{$curtain}_1" style="padding-left:{$by_style}px;"> |
---|
10 | <div class="{$curtain}_2" style="padding-right:{$by_style}px;"> |
---|
11 | |
---|
12 | <!-- |
---|
13 | |
---|
14 | <object id="player" CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="{$fileinfo.video.resolution_x}" HEIGHT="{$fileinfo.video.resolution_y}" |
---|
15 | CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"> |
---|
16 | {if ($Charlies.showplayer==1)}<param name="Controller" VALUE="true">{/if} |
---|
17 | <param name="Type" VALUE="video/quicktime"> |
---|
18 | {if ($Charlies.autoload==1)}<param name="Autoplay" VALUE="true">{/if} |
---|
19 | <param name="TargetCache" VALUE="true"> |
---|
20 | <param name="Cache" VALUE="true"> |
---|
21 | <param name="Target" VALUE="myself"> |
---|
22 | <param name="Src" VALUE="{$SRC_IMG}"> |
---|
23 | <param name="PluginsPage" VALUE="http://www.apple.com/quicktime/download/"> |
---|
24 | {if ($Charlies.loop==1)}<param name="Loop" VALUE="true">{/if} |
---|
25 | <param name="Scale" VALUE="ToFit"> |
---|
26 | {if ($Charlies.volume!='')}<param name="Volume" VALUE="{$Charlies.volume}">{/if} |
---|
27 | |
---|
28 | <embed PluginsPage="http://www.apple.com/quicktime/download/" |
---|
29 | {if ($Charlies.showplayer==1)}Controller="true"{/if} Type="video/quicktime" |
---|
30 | {if ($Charlies.autoload==1)}Autoplay="true"{/if} |
---|
31 | TargetCache="true" Cache="true" id="embedplayer" |
---|
32 | Target="myself" Src="{$SRC_IMG}" WIDTH="{$fileinfo.video.resolution_x}" HEIGHT="{$fileinfo.video.resolution_y}" |
---|
33 | {if ($Charlies.loop==1)}Loop="true"{/if} |
---|
34 | Scale="ToFit" |
---|
35 | {if ($Charlies.volume!='')}Volume="{$Charlies.volume}"{/if} |
---|
36 | /> |
---|
37 | |
---|
38 | </object> |
---|
39 | --> |
---|
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 | <param name="src" value="{$SRC_IMG}"> |
---|
43 | <param name="autoplay" value="true"> |
---|
44 | <param name="pluginspage" value="http://www.apple.com/quicktime/download/"> |
---|
45 | <param name="type" value="video/quicktime"> |
---|
46 | <param name="Scale" value="ToFit" > |
---|
47 | |
---|
48 | <embed PluginsPage="http://www.apple.com/quicktime/download/" |
---|
49 | src="{$SRC_IMG}" |
---|
50 | width="640" |
---|
51 | height="360" |
---|
52 | autoplay="true" |
---|
53 | Scale="ToFit" |
---|
54 | pluginspage="http://www.apple.com/quicktime/download/" |
---|
55 | type="video/quicktime" |
---|
56 | /> |
---|
57 | </object> |
---|
58 | |
---|
59 | </div> |
---|
60 | </div> |
---|
61 | </div> |
---|
62 | {html_head} |
---|
63 | <link rel="stylesheet" type="text/css" href="{$CHARLIES_PATH|@cat:'charlies.css'}"> |
---|
64 | {/html_head} |
---|