If so, you can simply cut and paste the <object> code onto your own page (using the correction I've shown). Then, change the two src="http://pics.10026.com/?src=intro.asf" parameters to your own media file.
Tha is the thread I was talking about, but I only see one src="http://pics.10026.com/?src=intro.asf" did I miss one?
Also does it have to be .asf, or just and media file that is supports?
Sorry. One src="http://pics.10026.com/?src=intro.asf" and one value="intro.asf". Also, the width and height values are duplicated, too.
<OBJECT ID="MediaPlayer"
WIDTH=280
HEIGHT=266
CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..."
TYPE="application/x-oleobject"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<PARAM NAME="FileName" VALUE="sample.asf">
<PARAM NAME="AutoStart" Value="true">
<PARAM NAME="ShowControls" Value="true">
<Embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
src="sample.asf"
Name=MediaPlayer
AutoStart=0
Width=280
Height=266
autostart=1
ShowControls=1>
</embed>
</OBJECT>
</body>
</html>
And this should support any media file that Windows Media can play.
It works great. Thank you
Hey, It doesn't work on my server. on one computer i view the page and nothing happens, and on another one it downloads the file. What am I doing wrong?
> It doesn't work on my server
Some commercial hosts do not allow streaming video. (It places a burden on their servers.)
You might have to ask your host's HelpDesk whether video is permitted. (Or read their FAQ.)
its my own. and i tried it with audio also
Does your page have a public address that we could view?
Hey, I fixed it. I had to tweak with IIS. I have no idea why it wasn't working, but it is now. Thanx for your help.
May I ask how you tweaked IIS in order to get your media files playing?
well i made it an application, then took it off and it worked, so now I am thinking it was just taking forever to load...who knows thanx anyway
0 comments:
Post a Comment