source: extensions/charlies_content/charlie_music.tpl @ 3318

Revision 3318, 1.5 KB checked in by vdigital, 10 years ago (diff)

+ Add Charlies' content to depository

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
Line 
1<!-- /charlie_music.tpl -->
2{*
3 If you don't plan to any music via Windows Media Player on your web site,
4 change player by the one you want.
5Based on documentation from
6http://msdn.microsoft.com/library/en-us/wmplay10/mmp_sdk/usingtheplayercontrolinawebpage.asp
7*}
8<br />
9{assign var="main_width" value="`450+$by_style+$by_style`"}
10<div id="charlie" style="height: 64px; width:{$main_width}px; padding-top: 55px; margin-top: 40px;">
11        <div class="{$curtain}_1" style="padding-left:{$by_style}px;">
12                <div class="{$curtain}_2" style="padding-right:{$by_style}px;">
13                        <object id="MediaPlayer" height="64" width="450" alt="object {$ALT_IMG}"
14                          classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"
15                          standby="Loading Windows Media Player components..."
16                          type="application/x-oleobject"
17                          codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
18                                  {if ($Charlies.autoplay==1)}<param name="autostart" value="true">{/if}
19                                  <param name="filename" value="{$SRC_IMG}">
20                                  {if ($Charlies.showplayer==1)}<param name="showcontrols" value="true">{/if}
21                        <!--[if !IE]> <-->
22                        <embed type="application/x-mplayer2" src="{$SRC_IMG}" alt="embed {$ALT_IMG}"
23                          name="MediaPlayer" height="64" width="450" {if ($Charlies.showplayer==1)}showcontrols="true"{/if} {if ($Charlies.autoplay==1)}autostart="true"{/if}>
24                        </embed>
25                        <!--> <![endif]-->
26                        </object>
27                </div>
28        </div>
29</div>
30{html_head}
31<link rel="stylesheet" type="text/css" href="{$CHARLIES_PATH|@cat:'charlies.css'}"> 
32{/html_head}
Note: See TracBrowser for help on using the repository browser.