Commit 569b25e5 authored by Simon Daron's avatar Simon Daron
Browse files

Player

parent a0357895
......@@ -10,7 +10,10 @@
<audio id="DirectStreamPanik" class="hidden" tabindex="0" src="http://streaming.domainepublic.net:8000/radiopanik.ogg" controls="controls">
</audio>
<ul class="inline metas small">
<li><button class="icon-refresh" id="RefreshWhatsOnAir"></button></li>
<li class="right">
<button id="BufferStateTODO"></button>
<button class="icon-refresh" id="RefreshWhatsOnAir"></button>
</li>
<li><a title="Get the stream on your player!" class="button resymbol icon-download" href="http://streaming.domainepublic.net:8000/radiopanik.ogg.m3u"></a></li>
<li><button title="Show/Hidden HTML5 audio player" onclick="$('#DirectStreamPanik').toggleClass('hidden');$(this).toggleClass('icon-eye-open icon-eye-close');return false;" class="icon-eye-open"></button></li>
<li><button class="icon-question-sign"></button></li>
......@@ -18,12 +21,12 @@
<style>#RefreshWhatsOnAir {display:block !important;float:right;position:relative;}</style>
<script type="text/javascript">
$(function() {
var timer = null,
interval = 5000;
$('#WhatsOnAir').on('load',function(){
$(this).fadeOut().load('what').fadeIn();
/*$(this).load('test'});*/
});
var timer = null,
interval = 5000;
$('#RefreshWhatsOnAir').on('activate',function(e){
$(this).addClass('spinning');
$('#WhatsOnAir').trigger('load');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment