Forum archive - WMP StretchToFit

http://www.supermediastore.com/



Forum Archive Home -> Programming -> WMP StretchToFit



WMP StretchToFit

jamesearljames posted 2009 Oct 19 13:04
Hi,

I'm embedding an WMP object to play a video and I can't figure out how to get the video to fill the entire area of the video player (even if it messes up the aspect ratio). I can get it to fill as much as possible while maintaining the aspect ratio, but I can't get it to stretch the video. Any ideas?




:
<div style="margin-left:auto; margin-right:auto; width:900px; height:300px;">
                    <object width='900' height='300' classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
                        <param name='fileName' value='http://www.3rdgearvtec.net/Andys%20Videos/BillvsLee.wmv' />
                        <param name='animationatStart' value='false' />
                        <param name='transparentatStart' value='0' />
                        <param name='autoStart' value='0'/>
                        <param name='stetchtofit' value='false' />
                        <param name='autosize' value='false' />
                        <param name='showControls' value='true' />
                        <param name='loop' value='false' />
                        <embed name='mediaPlayer' width='900' height='300' src='http://www.3rdgearvtec.net/Andys%20Videos/BillvsLee.wmv' displaysize='4' stetchtofit='false' autosize='false' bgcolor='darkblue' type='application/x-mplayer2' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/' showcontrols="true" showtracker='-1' showdisplay='0' showstatusbar='-1' videoborder3d='-1' autostart="0" designtimesp='5311' loop='false'></embed>
                    </object>
                </div>




Login/Register to our forum to be able to post here.








DVDFab DVD to DVD lets you backup DVDs to DVDr, AVI or MP4 for portable devices. More info or download trial!
About   Advertise   Forum Archive   RSS Feeds   Statistics