Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-07-2002, 09:42 PM   #1
Member (3 bit)
 
Join Date: May 2002
Location: ohio
Posts: 6
Send a message via AIM to toadpipe
Adding Streaming media to website

Hi, this is my first post. I currently have streaming media up on a website I am working on. My host supports http streaming. I am using real video, because it was easy to set up and get my video to play. But another web designer told me that doing it this way with realvideo, my video won't really stream, the end user will have to essentially down load the whole thing before they can watch it. In order to have true streaming video I would have to have a realvideo server. Now I can also make quicktime and windowsmedia (wmf) files will either of those stream from a http. I know windows will stream if you put mms in the wmx file, but what if you put http instead? Also if you know how to set up streaming wmf files, pleas walk me through setting up my wmx file. Thansk in advance for any help, hope I wasn't to confusing.
toadpipe is offline   Reply With Quote
Old 05-09-2002, 02:39 AM   #2
Member (3 bit)
 
Join Date: May 2002
Location: ohio
Posts: 6
Send a message via AIM to toadpipe
Well since 12 people looked and no one knew how, I went ahead and figured it out myself. If anyone wants to learn how just post a reply and I will walk you through it.
toadpipe is offline   Reply With Quote
Old 05-09-2002, 02:49 AM   #3
Member (13 bit)
 
Join Date: Oct 2000
Location: Scotland
Posts: 4,700
Hi toadpipe,

I'm sorry no one "in the know" was around to help you. I dabble in web design myself (I have not tackled streaming media yet - but I'm sure it's just a matter of time before I'm asked to do it) and would certainly be interested having an outline of how you did it for future reference.

Mike



mike breck is offline   Reply With Quote
Old 05-09-2002, 04:49 AM   #4
Member (3 bit)
 
Join Date: May 2002
Location: ohio
Posts: 6
Send a message via AIM to toadpipe
No prob Mike, I wasn't mad that no-one replied with an answer, I was just hoping someone would, becuase I am lazy. Here are the steps for Setting up streaming media for windows media files.

1.) First encode your video into the wmv format, using a program like Premiere ($500) , Final Cut Pro ($1,000), or even Pinnacle DV studio($60).
2.) Now beleive it or not you need to create a text file. The following needs to be entered into the file:

*ASX version = "3.0"*
*Entry*
*Ref Href = "http://nameofyoursite/nameoflocationoffile/nameofvideo.wmv" /*
*/Entry*
*/ASX*

Please NOTE: subsitute < or > for * in the script, I had to enter it this way so the forum wouldn't run it.



3.) save the file as nameofyourvideo.wvx Oh and insert the name of your video file and location of file etc.. instead of the dummy ones I supplied.

4.) Upload all your video files (WMV) and all your corresponding video link files (WVX) up to your server. Note: You cannot link directly to a WMV file that is why you have to make a wvx file.

5.) in your HTML editor (by hand, or by dreamweaver, or by frontpage, or by what have you) enter in the following script to have windows media player embedded in your page ready to play the video when they hit play:

*BODY*
*OBJECT ID="Player" width="320" height="240"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"*
*PARAM name="URL" value="http://WebServer/MyFile.wvx"*
*PARAM name="uiMode" value="none"*
*/OBJECT*
*BR*
*INPUT TYPE="BUTTON" NAME="BtnPlay" VALUE="Play" OnClick="StartMeUp()"*
*INPUT TYPE="BUTTON" NAME="BtnStop" VALUE="Stop" OnClick="ShutMeDown()"*
*SCRIPT*
*!--
function StartMeUp ()
{
Player.controls.play();
}

function ShutMeDown ()
{
Player.controls.stop();
}
--*
*/SCRIPT*
*SCRIPT LANGUAGE="VBScript"*
*!--
On error resume next
Player.URL = ""
if err then msgbox "You need Windows Media Player 7. Go to" & chr(13) &_
"http://www.microsoft.com/windowsmedia"
err.clear
--*
*/SCRIPT*
*/BODY*


Please NOTE: subsitute < or > for * in the script, I had to enter it this way so the forum wouldn't run it.

6.) substitute your url and file name in the script where it says webserver/myurl etc..

7.) There are other scripts on microsofts webpage, which is where I found this one. I liked this one becuase it was clean looking and only gives the user two buttons: play and stop, so they can't really screw it up.

Well so far that is the only way I could get video to stream from http, without having to pay $$$ for a realvideo server or a windows media server, I hope that helps. Oh and have a great day! Oh and that script will automatically detect if they have the correct version of windows media player or not and provide a download link if they do not

Last edited by toadpipe; 05-09-2002 at 04:56 AM.
toadpipe is offline   Reply With Quote
Old 05-15-2002, 02:20 PM   #5
Member (13 bit)
 
Join Date: Oct 2000
Location: Scotland
Posts: 4,700
Thanks toadpipe for your detailed and informative explanation.

I've put it in my notebook for future use.

Mike

mike breck is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:17 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2