Quote:
Originally Posted by The Geek
Youtube specifically or all videos?
You can control the size of the embedding by Zone via AME's settings. If you want to be more specific (i.e. youtube videos show differently than others) then edit your template accordingly (for example, something like: <if condition="$ameinfo[ameid]=='youtube'">blahblahblah</if>).
|
When the code gets parsed it's leaving out the height and width attributes:
HTML Code:
<object 425 350>
<param name="movie" value="http://www.youtube.com/v/vNvnLFgH5BU&ap=%2526fmt%3D18&fs=1"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/vNvnLFgH5BU&ap=%2526fmt%3D18&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" 425 350 wmode="transparent"></embed></object>
My definitions are the default from 2.5RC1:
Code:
<object width="$ameinfo[width]" height="$ameinfo[height]">
<param name=''movie'' value="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="$ameinfo[width]" height="$ameinfo[height]" wmode="transparent"></embed></object>