Вы находитесь на странице: 1из 3

Stream Status Summary 1.

This snippet will display the current song title and artist on your web page, refreshing once every minute. Place the following code on your web page wherever you would like the summary to appear:

<span id="cc_stream_info_summary">Loading...</span>

2. Place the following code at the bottom of the web page, just before your </body> tag: <script language="javascript" type="text/javascript" src="http://173.245.6.145/system/streaminfo.js"></script> <script language="javascript" type="text/javascript" src="http://173.245.6.145/js.php/mirisdzenneta/streaminfo/rnd0"></script>
Stream Details 3. This snippet is similar to the above, but it allows you to control the exact placement of various information about your stream through the use of individual <span> tags. Place the following code (or any combination of the following <span> elements) on your web page wherever you would like the corresponding information to appear:

Current song: <a href="http://173.245.6.145/tunein.php/mirisdzenneta/tunein.pls" id="cc_stream_info_song">Loading...</a><br /> Stream title: <span id="cc_stream_info_title"></span><br /> Bit rate: <span id="cc_stream_info_bitrate"></span><br /> Current listeners: <span id="cc_stream_info_listeners"></span><br /> Maximum listeners: <span id="cc_stream_info_maxlisteners"></span><br /> Server status: <span id="cc_stream_info_server"></span><br /> Source status: <span id="cc_stream_info_source"></span><br /> 4. Place the following code at the bottom of the web page, just before your </body> tag: <script language="javascript" type="text/javascript" src="http://173.245.6.145/system/streaminfo.js"></script> <script language="javascript" type="text/javascript" src="http://173.245.6.145/js.php/mirisdzenneta/streaminfo/rnd0"></script>

On-demand Content This snippet will display a browser for your on-demand content, and allow your visitors to listen to and create playlists for your content. Place the following code on your web page wherever you would like the on-demand content browser to appear:

<link rel="stylesheet" type="text/css" href="http://173.245.6.145/theme/widget_ondemand.css" /> <div id="cc_on_demand_content">Loading...</div>


Place the following code at the bottom of the web page, just before your </body> tag:

<script language="javascript" type="text/javascript" src="http://173.245.6.145/system/ondemand.js"></script> <script language="javascript" type="text/javascript" src="http://173.245.6.145/js.php/mirisdzenneta/ondemand"></script>


Recent Tracks This snippet will display a list of recently played tracks (including Amazon affiliate links and album cover images if Amazon integration is enabled). Place the following code on your web page wherever you would like the recent tracks list to appear:

<link rel="stylesheet" type="text/css" href="http://173.245.6.145/theme/widget_recenttracks.css" /> <div id="cc_recent_tracks">Loading...</div>


Place the following code at the bottom of the web page, just before your </body> tag:

<script language="javascript" type="text/javascript" src="http://173.245.6.145/system/recenttracks.js"></script> <script language="javascript" type="text/javascript" src="http://173.245.6.145/js.php/mirisdzenneta/recenttracks/rnd0"></script>


Song Requests This snippet will display a form with which users can submit song requests. Note that requests are NOT handled internally, they are simply sent via E-mail to the E-mail address configured for your stream. Your Email address will not be disclosed to the public. Place the following code on your web page wherever you would like the request form to appear:

<div id="cc_request_result"></div> <form> Song (artist/title): <input type="text" id="cc_request_song" name="request[song]" size="40" maxlength="127" /><br />

Dedicated to: <input type="text" id="cc_request_dedi" name="request[dedication]" size="40" maxlength="127" /><br /> Your name: <input type="text" id="cc_request_sender" name="request[sender]" size="40" maxlength="127" /><br /> Your E-mail: <input type="text" id="cc_request_email" name="request[email]" size="40" maxlength="127" /><br /> <input type="button" id="cc_request_button" value="Submit song request" onclick="cc_request_submit()" /><br /> </form>
Place the following code at the bottom of the web page, just before your </body> tag:

<script language="javascript" type="text/javascript" src="http://173.245.6.145/system/request.js"></script> <script language="javascript" type="text/javascript" src="http://173.245.6.145/js.php/mirisdzenneta/request"></script>


Tune In This snippet will provide a set of tune-in links for various media players. Place the following code on your web page wherever you would like the tune-in links to appear:

<div id="cc_tunein"> <a href="http://173.245.6.145/tunein.php/mirisdzenneta/playlist.pls"><img align="absmiddle" src="http://173.245.6.145/system/images/tunein-pls.png" border="0" alt="Winamp" title="Winamp" /></a> <a href="http://173.245.6.145/tunein.php/mirisdzenneta/playlist.asx"><img align="absmiddle" src="http://173.245.6.145/system/images/tunein-asx.png" border="0" alt="windows Media Player" title="Windows Media Player" /></a> <a href="http://173.245.6.145/tunein.php/mirisdzenneta/playlist.ram"><img align="absmiddle" src="http://173.245.6.145/system/images/tunein-ram.png" border="0" alt="Real Player" title="Real Player" /></a> <a href="http://173.245.6.145/tunein.php/mirisdzenneta/playlist.qtl"><img align="absmiddle" src="http://173.245.6.145/system/images/tunein-qtl.png" border="0" alt="QuickTime" title="QuickTime" /></a> </div>

Вам также может понравиться