From 229e825d27c612be4530ee3005f8a0b2cda6e655 Mon Sep 17 00:00:00 2001 From: Alib Date: Mon, 29 Mar 2010 13:29:02 +0200 Subject: added on error image --- js/istreamdev.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'js') diff --git a/js/istreamdev.js b/js/istreamdev.js index e5488a3..061fe6e 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -190,6 +190,7 @@ $('#streaming').bind('pageAnimationEnd', function(event, info){ $('#streaming').bind('pageAnimationStart', function(event, info){ var session = $("#streaming").find('span[rel="session"]').text(); if (info.direction == 'out') { + var time = new Date(); $('#player').html(''); } }) @@ -518,7 +519,7 @@ function gen_streaming(session) { $("#streaming").find('span[rel="thumbheight"]').html(stream.thumbheight); if (stream.type == "tv") { - $('#streaming').find('h1').html(' ' + stream.name ); + $('#streaming').find('h1').html(' ' + stream.name ); $('#streaming').find('#player').css('width', '90px'); var streaminfo = '
  • Now: ' + stream.now_title + ''; streaminfo += '' + stream.now_time + ''; @@ -529,7 +530,7 @@ function gen_streaming(session) { } else if (stream.type == "rec") { - $('#streaming').find('h1').html(' ' + stream.name ); + $('#streaming').find('h1').html(' ' + stream.name ); $('#streaming').find('#player').css('width', '90px'); var streaminfo = '
  • ' + stream.name + ''; streaminfo += 'Recorded: ' + stream.recorded + ''; @@ -538,7 +539,7 @@ function gen_streaming(session) { } else if (stream.type == "vid") { - $('#streaming').find('h1').html(' ' + stream.name ); + $('#streaming').find('h1').html(' ' + stream.name ); $('#streaming').find('#player').css('width', '190px'); var streaminfo = '
  • ' + stream.name + ''; streaminfo += 'Duration: ' + stream.duration + ''; -- cgit v1.2.3