HostGator.com » Support Portal

How do I set up streaming video or music?

Many people have questions about media steaming support for their sites. Unless you have a dedicated server, HostGator supports only "HTTP Streaming" which is real player, quicktime, and windows media player.

After you encode your media files, there are two more steps in preparing your content for streaming from a Web server. You must create Windows Media metafiles with .wax, .wvx, or .asx file name extensions and add tags to your HTML files. The HTML tag points the end user's browser to the metafile, which points Windows Media Player to the content, the Windows Media file. A metafile must be used to reference the media because a direct reference to the media in an HTML tag will cause most browsers to attempt to download the media rather than stream it.

To create a Windows Media metafile:

Open a text editor, such as Microsoft Notepad. Type the following metafile script, replacing the URL with that of your media. Reference the media just as you would any other Web file.

<ASX VERSION="3.0">
<ENTRY>
<REF HREF = "http://YourWebServer/Path/YourFile.wmv" />
</ENTRY>
</ASX>

You can place the metafile in the same folder as that of your media. If you do so, you can use a relative path, which is simply the name of the file. The REF line would look like this:

<REF HREF="YourFile.wmv" />

Save the text file, using the name of your media file followed by the .wvx extension if the metafile points to a file with a .wmv extension, or .wax if the metafile points to a file with a .wma extension, such as YourFile.wvx. The file name extension .asx was used in previous versions of Windows Media Technologies. To add a tag to an HTML file Using a text editor such as Microsoft Notepad, open the Web page that you want to add the reference to the media to. Add the URL of the metafile. For example:

<HTML>
<BODY>
Play this Windows Media file:
<A HREF = "http://YourWebServer/Path/YourFile.wvx">
YourFile</A>
</BODY>
</HTML>

Copy the Windows Media files (with .wma, .wax, .wmv, and .wvx file name extensions) to your Web server. When an end user clicks the reference on the Web page, the metafile is downloaded and Windows Media Player opens. Windows Media Player opens the metafile, and then opens and plays the Windows Media file from your Web server.

How to setup streaming for mp3, wav, and other file types.

Article Comments

suresh
good

Helina
Useful only for internet explorer. Not useful for mozilla.
Do you have any other options for mozilla?

HostGator
You may need to download the Windows Media Player Firefox Plugin.

Next, check the buffer settings in WMP by going to Tools > Options > Performance > Network Buffering. Be sure to use all of the recommended settings.

Membre
what about FLV streaming?

HostGator
Please note that Streaming Flash is not supported on our shared servers. You must purchase a dedicated server to use this technology.

If you have a dedicated server, you can try using the mod_flv module, but we recommend red5.

You may email sales@hostgator.com and request a red5 installation on your dedicated server. (This is a typical installation, so the price is $75 one-time.)

Rich
What if i want to use Quicktime videos instead of windows media? Is there a meta file for that?

HostGator
There is no meta file type for .mov files.

QuickTime Pro has advanced features to make this happen. Also, you can embed the .mov file on a webpage to encourage streaming.

Darien Ruddock
Is it possible to stream live audio...?

HostGator
Yes, but Live audio and video are only allowed on a VPS or Dedicated plan.

You will not be able to accomplish your goal on a shared, reseller, or SEO plan.

sammy
can we create a mp3 playlist and add it as streaming audio, is it play as a radio channel.

HostGator
You cannot host live streaming music, like a radio station.

Live streams (tv, radio, webcam) require a VPS or dedicated server.

Mauricio Lara
I have a dedicated server I need to know what type of streaming server I have preinstalled on my server with centos

HostGator
Streaming servers do not come pre-installed with CentOS. You can install ShoutCast, Red5, Icecast, etc. by downloading and installing the program.

Alternatively, HostGator can install one on your server for an administrative fee of $75 each. Email support@hostgator.com to request that.

Tee
so can I have a shoutcast streaming station using hostgator?

HostGator
Yes, according to the related article, "Streaming Flash". You can have shoutcast on a VPS or dedicated server.

S-Owner
Can you add embedded videos ?

HostGator
Of course, there is no reason why you would not be able to embed objects. Just find the HTML code and try it.

Jack Pillinger
how can i put my videos from youtube on my new site?

HostGator
@Jack,

You can add something like this:
<object width="425" height="344">
<param name="movie" value="http://www.youtube.com/v/GwQMnpUsj8I&hl=en&fs=1">
</param><param name="allowFullScreen" value="true">
</param><param name="allowscriptaccess" value="always">
</param><embed src=http://www.youtube.com/v/GwQMnpUsj8I&hl=en&fs=1
type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344">
</embed></object>

Replacing the youtube video link with whatever you are wanting to embed.

Jamilah
I am trying to embed a youtube video and it doesn't seem to be working. Where do I place the code, on a page in site builder or do I use the code editor on cPanel. I'm a not techie and I'm really confused.

HostGator
You can simply get the embed code from the YouTube page.

The code needs to be added in SiteBuilder by using the Script icon. Read all about that in our related article "How do I insert custom code into my site design?"

Danny
Do dedicated Windows servers support IIS Media Services or Windows Media Services? I'm looking for a solution to deliver in IIS Smooth Streaming format.

HostGator
We can install IIS Media Services 4.0 for no extra cost, but we do not currently support its use.

We can also install Windows Media Services for no extra cost, but we do not currently support its use.

b
i have tried jw player and havent found a way to make it work, i am on a reseller account

Juliana
Thank god for this Q-A resource - it's more useful than the information you have to search through when looking for package details - It also came up in search at the top of google far quicker than your package info under the term "how to install icecast on shared server" - question answered - you can't! lol.
Thanks for allowing this commenting system it provides more help than you realize!

SSalter
Best bet for video or music is Quicktime format. Quicktime compresses tightly for web delivery while keeping quality.

However, FLV format is good also. JWPlayer and FlowPlayer are both excellent players that support multiple formats and are easy to setup.

A Quicktime or FLV encoded file is not technically "streaming" in the literal sense but utilizes HTTP streaming.


HostGator
Thank you for your comments. Just a quick reminder that the comments on this page are not monitored by technical support staff, and that for support issues, it is best to contact us by live chat, phone or email so we can assist you right away.

Although comments are not monitored by technical support staff, they are moderated and read by technical writers. Comments will need to be approved by a moderator before appearing.

Our technical writers do read the comments periodically for the purposes of updating the articles, and do appreciate your feedback, suggestions and corrections to the articles themselves, as well as any suggestions or tips for readers of this article. However, support questions posted here are not guaranteed to be replied to in a timely manner or at all. For support issues, it is best to contact our support staff instead by live chat, email or phone.



Your comments help us keep the knowledge base updated. This is not a medium for support. If you have questions or need help, please contact us via email, phone or live chat for fast assistance.

Post Comment