View Full Version : how to stream a video?
ubtheboss
10-22-2002, 09:47 PM
I have successfully created files for streaming from my website.
However when I uploaded the file to my site and provided a link to it clicking on that link caused my computer to first download the file into my 'temporary folder' before it played it.
I'd prefer that when someone clicks on that link that it opens the appropriate viewing software and just plays the movie.
How do I do that?
Thank you.
ubtheboss
10-23-2002, 05:55 PM
Help! I'm looking for some love on this one.
Someone....?
Anyone.....?
:confused:
Nightfire
10-23-2002, 06:13 PM
Guess it depends on what software opens the file and if your host supports streaming.
ubtheboss
10-23-2002, 06:22 PM
Let's assume it is Real Player.
I found this on another website but I can't make it work. I might be doing it wrong. They talk about streaming video from your site without setting up a streaming account. Here is what that site said....
"In order for you to publish it on an internet site without the use of a Real Media Player on the server side a trick must be made so that it will play correctly. Quite simply you must make another file that refers to the clip. Why, because if you don’t the entire clip will have to download before it would play and that would not be a good thing for real-time streaming. So then, go to Note Pad or Editor in windows and make up the following file. http://www.(your domain).com/(your user name)/video/(and the name of the clip you just made).rm. Save that file as a .ram for an extension and upload it to your root directory on your internet site. This file will also be your reference file when you hyperlink it. The entire purpose of this file is to redirect the media file to the clip and then play it in real time. This little trick is called Pseudo Streaming and work quite well. Remember the reference file you just made has an extension of .ram the file that is your video clip is .rm."
Does this sound doable?
What user name are they referring to? The one I use to publish my site? And the 'video' part of that file path- do you think they are assuming that I put my video in a sub folder called 'video' or is that some kind of code that's part of the overall 'cheat'?
Thanks.
webmarkart
10-26-2002, 10:37 AM
this is what I use for mpgs and asf files...
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>
-------------------------------------------------------------------------
here's a good resource: embeding video (http://hotwired.lycos.com/webmonkey/multimedia/video/index.html)
ubtheboss
10-26-2002, 10:06 PM
That's fantastic! Thanks a million!
I don't guess you know how to do that with Quicktime files do you? Most of the people I would want to see my movies would probably be on Macs.
:thumbsup:
----edit----
ut, oh. I uploaded my movies onto my site using that code to play them but I'm mainly only getting audio. There's no picture or its staggered and jumpy.
Here's a link to one of them:
http://www.parkerpictures.com/free_movie3.htm
I have a DSL line so it shouldn't be that bad.... I think :confused:
I am using .wmv files that I used Ulead Video Studio to compress for streaming (thinking that might make the file size smaller and my host happier). Is this a contributing factor?
Thanks for the help.
webmarkart
10-26-2002, 11:21 PM
I don't know what to yell you, I know its not a problem with the code because I have used the exact code countless times without a problem. You'll have to do research on the quicktime movies, I don't use them.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.