How Do I Link My Streaming Media to My Website?
Before You Begin
Before you follow the steps outlined here, make sure that you've encoded and uploaded a Windows Media file to your MediaHostingWorks account. Keep in mind that the streaming account is not the same server that handles your normal webpages. They don't necessarily have to be run by the same company! The HTML code you will use won't change.
Linking a Windows Media File (.WMA or .WMV) to Your Site
Open the page you want to include the link on in your preferred HTML editing program. Windows Media links generally follow the same rules as normal <A HREF> tags. The streaming media link format looks like this:
mms://IP address or domain name alias/yourdomainname (video or audio)/song.wma
- The IP address for your media server is included in the email you received when your account was set up. In addition, you may have had us create a "media.yourdomainname.com" alias for your media server. Either the IP address or the "media.yourdomainname.com" should follow the
mms://
- "yourdomainname" refers to the primary domain component, without the domain extension. For example, for the domain name "www.mediahostingworks.com" you would use "mediahostingworks". Connected to that is either the word "audio" or "video", depending on whether you are linking to an audio or video file.
- After that, simply enter the path to your media file.
For example, we would use this code to link to the file "Boogie_Nights.wmv" from www.mediahostingworks.com:
mms://media.mediahostingworks.com/mediahostingworksvideo/Boogie_Nights.wmv
Let's say www.perfectutensil.com keeps their audio clips in directories on their media server, named and arranged by album title. To link to the song "Pogo.wma" in the "Goodbye_Mrs_Ambush" directory under /audio, they would use this code:
mms://media.perfectutensil.com/perfectutensilaudio/Goodbye_Mrs_Ambush/Pogo.wma
|