The Netfirms Premium Hosting Plans allow you to do http streaming:
1. Upload the audio/video file(s) to your website using an FTP program. Instructions for using an FTP program can be found here. 2. Add the following code to the webpage that will stream your file:
Video streaming:
<embed src="mymovie.mpg" CONTROLS="imagewindow" CONSOLE="video" width="320" height="240" autostart="TRUE">
</embed>
Audio streaming:
<embed src="mymusic.mp3" CONTROLS="audiowindow" CONSOLE="audio" width="200" height="100" autostart="TRUE">
</embed>
The above code will add the audio or video file to your page and will automatically run the file.
Note: The person viewing the page through a browser will need to have the appropriate software installed on their machine to run the file. For example, if you wish to stream a real media file the person will need to have real media installed on their computer so that their browser can play the file.
Instructions for Real Media Files:
A. Create .rm or .ram file
1. Create a compressed RealMedia file (.RM).
2. Open the free RealProducer software (obtainable from the link below).
3. Open your audio or video file from this program and select an adequate compression setting for this file.
For this example, the RealMedia file will be named and saved as: Real_Media_File.rm
B. Create Realmedia Metafile
In order for a RealMedia file to be viewed on your Website, a RealAudio Metafile needs to be created.
For the example below, the RealAudio Metafile will be named and saved as: Real_Audio_Metafile.ram
The contents of this Real_Audio_Metafile.ram file would have the following line in it:
http://www.sitename.com/Real_Media_File.rm
NOTE: There is only a single line of coding within in this RealAudio Metafile. You must also press the ENTER key at the end of that line for this file to work.
C. Create Your HTML Page
An .HTML file needs to be created and must possess a link, within its source code, to the Real_Audio_Metafile.ram file. For this example, this web page will be named and saved as: webpage.html . This webpage.html can have the content in its source code (which can be entered through a text editor like Notepad:
<HTML><br>
<HEAD><TITLE>Streaming RealMedia Example</title></HEAD><br>
<BODY><br>
<A HREF="http://www.sitename.com/Real_Audio_Metafile.ram">Click on this link to see a streaming video.</A><br>
</BODY><br>
</HTML>
D. Upload your .rm, .ram and .html files
Please ensure that you upload the .RM file in “Binary” mode (via a FTP program). The .RAM and .HTML must be uploaded in “ASCII” or TEXT mode (via a FTP program). These files must be uploaded to your main WWW folder on your site.
E. Test your Real Audio or Real Video File on your Site