source: extensions/charlies_content/charlie_quicktime.tpl @ 31085

Last change on this file since 31085 was 29062, checked in by jdd, 10 years ago

Fix quicktime with fixed width and height

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 2.5 KB
Line 
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
41<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab"     width="640" height="398">
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    <embed
48     src="{$SRC_IMG}"
49     width="640"
50     height="398"
51     autoplay="true"
52     Scale="ToFit"
53     pluginspage="http://www.apple.com/quicktime/download/"
54     type="video/quicktime"
55     />
56</object>
57
58                </div>
59        </div>
60</div>
61{html_head}
62<link rel="stylesheet" type="text/css" href="{$CHARLIES_PATH|@cat:'charlies.css'}"> 
63{/html_head}
Note: See TracBrowser for help on using the repository browser.