PDA

View Full Version : Help with video address


suttonbaymedia
12-3-05, 11:56 AM
my website www.suttonbaymediavideo.com has an embedded video player. I uploaded my mpg and now I need to know how to get it into the player. What is the address of my video clip?

<param name='fileName' value="http://servername/path/to/media.file">
I think this goes here:
<param name='williamhthielen.mpg'

but what goes here:

value="http://servername/path/to/media.file">

Builder
12-3-05, 12:45 PM
I think this:
<param name='fileName' value="http://servername/path/to/media.file">
should be changed to this:
<param name='fileName' value="http://www.suttonbaymediavideo.com/williamhthielen.mpg">

If williamhthielen.mpg exists in a subfolder adjust accordingly.

Good luck,
Kevin

suttonbaymedia
12-3-05, 05:02 PM
You rock! Thank you so much, it is working!

suttonbaymedia
12-4-05, 09:28 AM
Can you help again with my video size?
It all worked great, it just isn't the size of my player, which it should be. 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.

Builder
12-4-05, 07:19 PM
Heh, you're stretching my knowledge and abilities here, but I'll take a WAG at it. Try the following:
<!-- 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="scale" value="tofit">
<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' SCALE="TOFIT"
bgcolor='darkblue' showcontrols="true" showtracker='-1'
showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="285"
src="http://www.suttonbaymediavideo.com/WilliamThielen.wmv" autostart="true" designtimesp='5311'

loop="true">
</EMBED>
</OBJECT>

Good luck,
Kevin