Click to See Complete Forum and Search --> : Need Help with Streaming an MPEG
krindenow
08-26-2005, 03:08 PM
I have a 132 MB mpeg video that I want to put on my company's intranet. Does anyone know the HTML code to stream this video? Right now, it doesnt start playing until the whole thing has been downloaded to the client's machine, which takes a quite a few minutes over our LAN. I want it to start playing and downloading at the same time.
Kev
The Little Guy
08-26-2005, 06:30 PM
Try this:
<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="yourfilehere.mp3">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="true">
<PARAM NAME="autoStart" VALUE="true">
<PARAM NAME="showControls" VALUE="true">
</OBJECT>
rhsunderground
08-26-2005, 08:37 PM
moved to multimedia.
shawnwilson
08-27-2005, 12:30 PM
I have a 132 MB mpeg video that I want to put on my company's intranet. Does anyone know the HTML code to stream this video? Right now, it doesnt start playing until the whole thing has been downloaded to the client's machine, which takes a quite a few minutes over our LAN. I want it to start playing and downloading at the same time.
Kev
Did the code you received work? If so, could you please share it with me? I'm having the same problem.
Thanks a lot!
krindenow
08-27-2005, 05:52 PM
Unfortunately the code did not work. The WMP shows up, but nothing ever plays. It just sits there, doesnt even try to download. Anyone else have any suggestions???
shawnwilson
08-28-2005, 09:59 AM
I've been told that there's nothing you can do codewise to make the video stream. That it has to do with having the right software installed on the enduser's computer, and what browser they're using, and also possibly security features which the enduser's computer has. Have you tried this on several different computers? Also, 132MB is huge! that was prepared especially for the internet?!
krindenow
08-29-2005, 09:02 AM
Yes, I know it is huge. It is meant for a corporate intranet, not the world wide web. I also know it depends on the end user's browser and software, etc. However, this is in a corporate environment where everyone has the same browser and software. I just want it to play while it is downloading-streaming video. Anyone know how to do that? :confused:
The Little Guy
08-29-2005, 09:20 AM
Go here it generates code try it and see if this works
http://cit.ucsf.edu/embedmedia/step1.php
Jennifer4eva
08-30-2005, 02:35 PM
I think it should be best for you to set up a streaming server.. you can use any(real player, quick time, windows media) but i think "Windows Media Encoder" will work best in your case(if clients are running windows then they probably all have windows media player).. search for this program, configure the broadcast server, and then all you have to do is go to the website and add a link to your streaming server. this will start windows media player on the client machine and begin plaing imediately.
the site wich the_little_guy suggested is gud, but embeding plug-ins into a web-site might be problematic, because of the security limitations of today's web browsers.
shawnwilson
08-30-2005, 05:15 PM
Thanks for your reply. Would you mind to go to the page and see if these two clips stream for you? I would really appreciate that. I'm getting feedback that they stream for some folks, others not.
http://thewaytowellness.com/pages/products.html
Jennifer4eva
09-01-2005, 05:23 AM
hmm,
i tried but i hit a 404 error: The requested URL /pages/products.html was not found on this server.
gud luck with it
suprsidr
09-01-2005, 05:34 AM
Actually it depends on the media you are trying to play. You have to convert the media to streaming content. Try Sorensen Squeeze http://www.sorenson.com/
winmedia streams the best.
and then try code:
<object id="MediaPlayer" height="360" width="480"
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="enabled" value="true">
<param name="standby" value="Loading Microsoft Windows Media Player components...">
<param name="uimode" value="mini">
<param name="autostart" value="true">
<param name="stretchtofit" value="true">
<param name="windowlessvideo" value="true">
<param name="src" value="yourfile.wmv">
<embed type="application/x-mplayer2"
src="yourfile.wmv"
name="MediaPlayer"
width=480
height=360 standby="Loading Microsoft Windows Media Player components..." enabled="true" autostart="true" windowlessvideo="true" stretchtofit="true" uimode="mini">
</embed>
Making sure to embed for firefox.
hope this helps