summaryrefslogtreecommitdiff
path: root/js/istreamdev.js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-18 14:12:37 +0100
committerAlib <aliboba@free.fr>2010-03-18 14:12:37 +0100
commit31d8033cf0343478fc3f93373c64f057b82fed86 (patch)
tree3d45d87256042455d37a6f1aed9cc1d7958afd5e /js/istreamdev.js
parent94f6280dcf0b12fbcfef10838e7d2947b335aef8 (diff)
downloadistreamdev-31d8033cf0343478fc3f93373c64f057b82fed86.tar.gz
istreamdev-31d8033cf0343478fc3f93373c64f057b82fed86.tar.bz2
prevent thumb to be cached for video
Diffstat (limited to 'js/istreamdev.js')
-rw-r--r--js/istreamdev.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js
index 11a08d4..a590aed 100644
--- a/js/istreamdev.js
+++ b/js/istreamdev.js
@@ -340,8 +340,10 @@ function gen_streamvid(filename,path) {
dataString,
function(data){
var program = data.program;
+ var time = new Date();
+
$('#streamvid').find('h1').html('<img class="menuicon" src="img/video.png" /> ' + program.name);
- $('#streamvid').find('#thumbnail').attr('src','ram/temp-logo.png');
+ $('#streamvid').find('#thumbnail').attr('src','ram/temp-logo.png?'+time);
$("#streamvid").find('span[class="name_now"]').html( program.name );
$("#streamvid").find('span[class="epgtime_now"]').html( 'Duration: ' + program.duration );
desc='<b>format: </b>' + program.format + '<br><b>video: </b>' + program.video + '<br><b>audio: </b>' + program.audio + '<br><b>resolution: </b>' + program.resolution;