The world’s craziest MOOC has a radio station, which makes this whole thing about ten more levels underground. For those of you wanting to rock it in your sidebar here are instructions for WordPress:
- Go to Appearance > Widgets (assuming your theme supports widgets)
- Drag a new text widget into your sidebar
- Paste the following code into the text section:
<img src="http://www.timmmmyboy.com/wp-content/uploads/2011/01/20110122-082654.jpg">
<h4><span id="cc_stream_info_summary"><a href="http://208.82.115.69/~myautodj/radio/tunein.php/grpotter/tunein.pls">Radio ds106</a></span></h4>
<p><a href="http://www.dropitto.me/ds106" target="_blank">add your soundcraft to #ds106 radio</a><br> (password: wejamecono)</p>
<audio id="audio" src="http://208.82.115.69/~myautodj/radio/tunein.php/grpotter/tunein.pls" controls="" preload="" autoplay=""></audio>
<script type="text/javascript">
window.onload = function() {
var audioPlayer = document.getElementById("audio");
audioPlayer.load();
audioPlayer.play();
};
</script>
Big ups to D’Arcy for the guts of the code. And if anyone knows how to parse the song list with a script let me know!
Add a comment