• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 471
  • Last Modified:

need wmv file on web page to be larger

I've inserted a wmv file here

http://www dot david lereaney dot com slash film dot html

I increased the size of the player, but I want to increase the size of the video.
1 Solution
You need to use obj.stretchToFit

Note the additional stretchtofit param in the code.
<object id="MediaPlayer" width=950 height=548 classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"> 
<param name="filename" value="http://davidlereaney.com/demoreel.wmv"> 
<param name="Showcontrols" value="True"> 
<param name="autoStart" value="False"> 
<param name="wmode" value="transparent"> 
<param name="stretchToFit" value="1"> 
<embed type="application/x-mplayer2" src=http://davidlereaney.com/demoreel.wmv" name="MediaPlayer" autoStart="False" wmode="transparent" width="950" height="548"></embed> 

Open in new window

mel200Author Commented:
excellent, thanks!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now