Click to See Complete Forum and Search --> : Media file


Pieces
01-12-2005, 09:23 AM
I just created a windows media file for my site, when I open it it dreamweaver it plays fine or if I open it in a browser not uped to the ftp it plays fine. But when I up it to the ftp it does not play on my site it just shows a white box. I tried a few different computers and showed the same white box, thinking maybe it was my computer? I listed my code below I am hoping I am missing something stupid. I was going to list my website so maybe someone elese could check and see if it works at your end. But I am not sure if that is against this web forum rules. If someone could help I thank you in adavance.

<p>
<object classid="22d6f312-b0f6-11d0-94ab-0080c74c7e95" width="320" height="290" id="mediaplayer 1">
<param name="FileName" value="Video.avi">
<param name="AutoStart" value="False">
<param name="ShowControls" value="True">
<param name="ShowStatusBar" value="False">
<param name="ShowDisplay" value="False">
<param name="AutoRewind" value="True">
<embed
src="media/Video.avi" width="320" height="290" autostart="True"
type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" showcontrols="True" showstatusbar="False" showdisplay="False" autorewind="True" filename="Video.avi"></embed>
</object>
</p>

soccer362001
01-12-2005, 09:39 AM
Did you ftp the media file too?

ray326
01-12-2005, 09:48 AM
AND did you upload that media file in binary mode?

Pieces
01-12-2005, 09:52 AM
Yes I upped the media file. I am not sure what you mean by binary mode. Maybe that is the problem how can I do that?

ray326
01-12-2005, 10:03 AM
FTP can transfer in ASCII or binary mode. ASCII mode is used for text where end of line and other system-dependent translations are done on the fly. Binary transmits the file with no changes. The latter is necessary for media files.

Pieces
01-12-2005, 10:37 AM
I don't think that is the problem I use WS FTP. It has Automatic or Auto Detect mode for transfer for ASCII and BINARY files.

Pieces
01-12-2005, 04:44 PM
I am so confused I have tried many different media files, and many different size files all work fine but when they are uped to the ftp they don't work on the site?

ray326
01-12-2005, 10:55 PM
The only thing left is a misconfigured server. It's not sending the correct content-type for the media files.