|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Lil Smarty n00b
Joined: 24 Mar 2012 Posts: 2
|
Posted: Sat Sep 15, 2012 10:18 pm Post subject: How to Re-Size Video within a Template? |
|
|
This is an example of the default code:
<div class="content" id="fast_load_video">
<h1 class="title">{$video_title}</h1>
{$offsite_videos_block}</div>
I really need the videos to be resized, maybe 100x150
so I've tried this:
<div class="content" id="fast_load_video">
<h1 class="title">{$video_title}</h1>
{$offsite_videos_block} "width:100 height:150"</div>
I am very new to this, I've tried so many other tricks and have done so many research around the web, so I learn as I go along
Thank You and I appreciate all replies |
|
Back to top |
|
ChrisFah Smarty Pro
Joined: 02 Nov 2009 Posts: 159 Location: Traun, Austria
|
Posted: Thu Sep 20, 2012 8:39 pm Post subject: |
|
|
Hi,
maybe you will try this:
Code: | <embed src="sample.mov" width="200" height="240" scale="tofit"> |
or using the object tag
Code: |
<object height="240" width="200"><embed src="sample.mov" height="240" width="200"/></object> |
Regards, Chris |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|