Академический Документы
Профессиональный Документы
Культура Документы
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:
<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:
<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>