suttonbaymedia
12-4-05, 03:36 PM
My player is 320 by 240 ish, so is my video but it won't fill the player for some reason. I found a thread about a quicktime viewer that said this:
" You need to add a SCALE="TOFIT" attribute to your EMBED tag, and a <PARAM NAME="scale" VALUE="tofit"> to the PARAMs of your OBJECT."
But I can't figure out where this goes in my code.
<!-- begin embedded WindowsMedia file... -->
<table border='0' cellpadding='0' align="center">
<tr><td>
<OBJECT id='mediaPlayer' width="320" height="285"
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.suttonbaymediavideo.com/WilliamThielen.wmv">
<param name='animationatStart' value='true'>
<param name='transparentatStart' value='true'>
<param name='autoStart' value="true">
<param name='showControls' value="true">
<param name='loop' value="true">
<EMBED type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
bgcolor='darkblue' showcontrols="true" showtracker='-1'
showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="285"
src="http://servername/path/to/media.file" autostart="true" designtimesp='5311'
loop="true">
</EMBED>
</OBJECT>
Thanks so much for the help! I searched for the last hour on the web trying to find the answer, and it's so nice to be able to ask for help here.
" You need to add a SCALE="TOFIT" attribute to your EMBED tag, and a <PARAM NAME="scale" VALUE="tofit"> to the PARAMs of your OBJECT."
But I can't figure out where this goes in my code.
<!-- begin embedded WindowsMedia file... -->
<table border='0' cellpadding='0' align="center">
<tr><td>
<OBJECT id='mediaPlayer' width="320" height="285"
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.suttonbaymediavideo.com/WilliamThielen.wmv">
<param name='animationatStart' value='true'>
<param name='transparentatStart' value='true'>
<param name='autoStart' value="true">
<param name='showControls' value="true">
<param name='loop' value="true">
<EMBED type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
bgcolor='darkblue' showcontrols="true" showtracker='-1'
showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="285"
src="http://servername/path/to/media.file" autostart="true" designtimesp='5311'
loop="true">
</EMBED>
</OBJECT>
Thanks so much for the help! I searched for the last hour on the web trying to find the answer, and it's so nice to be able to ask for help here.