Changeset 29062 for extensions
- Timestamp:
- Jul 21, 2014, 9:57:51 AM (10 years ago)
- Location:
- extensions/charlies_content
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/charlies_content/Changelog.txt.php
r29057 r29062 4 4 ** History ** 5 5 6 6 20140721 fixed quicktime player (at least mov and mp4), with fixed height and width (640x360+controls 7 7 8 8 20140719 change comments in mp3player.tpl, change plugin name in main.inc, comment out "adviser" limitation for saving changes in config.php (no use seen) -
extensions/charlies_content/charlie_quicktime.tpl
r3318 r29062 1 1 <!-- /charlie_quicktime.tpl --> 2 2 {* 3 If you don't plan to play Quicktime files on your web site,4 change player by the one you want5 3 Based on documentation from http://www.apple.com/quicktime/tutorials/embed.html 6 4 *} 7 {assign var="main_width" value="`$fileinfo.video.resolution_x+$by_style+$by_style`"} 8 <div id="charlie" style="height: {$fileinfo.video.resolution_y}px; width:{$main_width}px; padding-top: 0px; margin-top: 20px;"> 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 9 <div class="{$curtain}_1" style="padding-left:{$by_style}px;"> 10 10 <div class="{$curtain}_2" style="padding-right:{$by_style}px;"> 11 12 <!-- 13 11 14 <object id="player" CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="{$fileinfo.video.resolution_x}" HEIGHT="{$fileinfo.video.resolution_y}" 12 15 CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"> … … 22 25 <param name="Scale" VALUE="ToFit"> 23 26 {if ($Charlies.volume!='')}<param name="Volume" VALUE="{$Charlies.volume}">{/if} 24 <!--[if !IE]> <--> 27 25 28 <embed PluginsPage="http://www.apple.com/quicktime/download/" 26 {if ($Charlies.showplayer==1)}Controller="true"{/if} Type="video/quicktime" {if ($Charlies.autoload==1)}Autoplay="true"{/if} 27 TargetCache="true" Cache="true" id="embedplayer" 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" 28 32 Target="myself" Src="{$SRC_IMG}" WIDTH="{$fileinfo.video.resolution_x}" HEIGHT="{$fileinfo.video.resolution_y}" 29 {if ($Charlies.loop==1)}Loop="true"{/if} Scale="ToFit" {if ($Charlies.volume!='')}Volume="{$Charlies.volume}"{/if}> 30 <!--> <![endif]--> 31 </object> <!-- embed is needed for Opera and FireFox --> 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 32 58 </div> 33 59 </div>
Note: See TracChangeset
for help on using the changeset viewer.