PDA

View Full Version : Posting a .wmv file....


ddubs
09-10-2002, 12:58 AM
I just want to put a page up with a link to view this file...

Any suggestions?

Thanks...

ddubs
09-10-2002, 01:25 AM
If I have to convert the file that is ok...I am looking for a way to insert the file in a window...Is there a way to have the windows media player run on a site? I can' t find the script, but know its out there..

again any help is great!

hairynugs6382
09-10-2002, 02:06 AM
I dont quite understand what u mean but maybe this will help u?


<html>
<head>

</head>
<body>

<a href="wav.wav">view this file</a>

</body>
</html>

ddubs
09-10-2002, 03:25 AM
i just want to post a video file in a .wmv, .avi, or .rm format. the file needs to be uploaded to my server and then a link provided to view it.

that script you gave me works for .wav files...will it work if I do the same for another format of video file?

thanks

webmarkart
09-10-2002, 04:33 AM
this is what use for mpgs and asf files but I'm not positive if this code will work with the file types you mentioned but its worth a try...

this is what the following code looks like on the web: http://www.through-the-eyes.com/wrestling (http://www.through-the-eyes.com/wrestling)


here is the source

<OBJECT ID="mediaPlayer" 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="yourmovie.mpg ">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="false">
<PARAM NAME="autoStart" VALUE="true">
<PARAM NAME="showControls" VALUE="true">
<PARAM NAME="AutoSize" VALUE="1">

<EMBED TYPE="application/x-mplayer2" PLUGINSPAGE="http://microsoft.com/windows/mediaplayer/en/download/"
ID=mediaPlayer NAME="mediaPlayer"
DISPLAYSIZE="4"
AUTOSIZE="-1"
BGCOLOR="darkblue"
SHOWCONTROLS="-1"
SHOWTRACKER="-1"
SHOWDISPLAY="0"
SHOWSTATUSBAR="-1"
VIDEOBORDER3D="-1"
WIDTH=320
HEIGHT=313
SRC="http://msdn.microsoft.com/downloads/samples/Internet/imedia/netshow/smedia/NS3/JavaScript/Buttons/control.asx"
AUTOSTART="-1" DESIGNTIMESP="5311">
</EMBED>
</OBJECT>

webmarkart
09-10-2002, 04:38 AM
I just found this link that also shows how to embed rm files...
http://www.streamalot.com/embed.shtml

hope that helps

ddubs
09-10-2002, 04:41 AM
That was just what I needed....thank you very much!!

anyone else looking for info on this there is some useful tips at webmonkey.com (http://hotwired.lycos.com/webmonkey/multimedia/video/index.html)

ddubs
09-10-2002, 04:54 AM
according to your link (http://www.streamalot.com/embed.shtml), to use the code it specifies to use .rpm rather than .ram format.

my question is, can I use .rm? is real player not the same as Real Media?...aka Real One?

if not I quess I'll need some pluggins.

thanks again.

webmarkart
09-10-2002, 04:55 AM
I'm pretty sure they are the same... I use rm files myself. I know mpg = mpeg so I'd assume they are the same