Forum Moderators: phranque

Message Too Old, No Replies

How do I resize an embedded video clip

how do I modify my code?

         

dailypress

6:09 pm on Mar 2, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<object id="winplayer" classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" width="320" height="280" type="application/x-oleobject">
<br />
<param name="url" value="http://www.example.com/clip.wmv" />
<br />
<param name="autostart" value="true" />
<br />
<param name="uiMode" value="full" />
<br />
<embed src="http://www.example.com/clip.wmv" width="320" height="280" autostart="true" uiMode="full" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"></embed>
<br />
</object>
------------------------------------
Do I change both width and height on line 1 and 9? Whats the difference between these parameters shown twice?

celgins

7:27 pm on Mar 2, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yes, you need to change the width/height in bothe OBJECT and EMBED tags.

The OBJECT tag is used by IE on Windows and the EMBED is used by Netscape, Mozilla (Mac and Windows) and IE (Mac). The EMBED tag has been deprecated, but of course browsers still support it.

dailypress

8:45 pm on Mar 2, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



thanks! :)