Client Support

Linking To Audio Player Box

Use the code below to open your player box within a Web Browser Window.

Step 1:  Insert the below code within the <head> section of your html page.  It may also be placed just after the opening <body> tag.

<script language="Javascript" src="http://www.mainstreamnetwork.com/listen/javascript/listen.js"></Script>

Step 2: Add your 'Listen Now' text or 'Image' to your site.  Then hyperlink it to the reference below.  Remember to replace YourStationID with the unique assigned ID that we give you.

<a href="JavaScript: openplayer('YourStationID');">

Example HTML codes for your reference:
HTML text link for station 'wxyz-fm':  <a href="javascript: openplayer('wxyz-fm');">Listen Now</a>
HTML image link for station 'wxyz-fm':  <a href="javascript: openplayer('wxyz-fm');"><img src="listen.gif"></a>

Direct Player Box URL
To link directly to your Audio Player Box, create a hyperlink to the address shown below. Remember to replace YourStationID with the unique assigned ID that we give you.

http://www.mainstreamnetwork.com/listen/player.asp?station=YourStationID

 

Linking To Video Player Box

To link to your Video Player Box just create a hyperlink to the address shown below. Remember to replace YourStationID with the unique assigned ID that we give you.

http://www.mainstreamnetwork.com/watch/viewer.asp?station=YourStationID

You can also 'frame' the video player windows into your site. Just use the below URL for your frame source.

http://www.mainstreamnetwork.com/watch/viewer_simple.asp?station=YourStationID

 

For further assistance contact [email protected]