diff options
author | MaZderMind | 2014-12-02 23:57:38 +0100 |
---|---|---|
committer | MaZderMind | 2014-12-02 23:57:38 +0100 |
commit | 9a3c16aecb0fcd28f3c9cd126db4495d7a783769 (patch) | |
tree | 0b46138c97501a24cc95e9faf4ef99cad5ebbc86 /assets | |
parent | 866b1ec28af165142a62d80d4dccb2e9b59ad002 (diff) |
slide-stream will be delivered as a ultra-low-bitrate video
not as jpegs like last year
Diffstat (limited to '')
-rw-r--r-- | assets/js/lustiges-script.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js index 44e5e3e..0e9af2f 100644 --- a/assets/js/lustiges-script.js +++ b/assets/js/lustiges-script.js @@ -162,27 +162,6 @@ $(function() { }); }); -// slide-stream -$(function() { - var - updateTimer = 5000, /* reload slide image 5 seconds after the previous image was loaded */ - $template = $('img.slide.template').clone().detach(); - - function updateSlideImage() { - // no way around breaking the cache hard in FF - // -> https://bugzilla.mozilla.org/show_bug.cgi?id=295942 - $template - .clone() - .on('load', function() { - $(this).replaceAll($('img.slide')); - setTimeout(updateSlideImage, updateTimer); - }) - .attr('src', $template.data('src')+'?'+Date.now()); - } - - updateSlideImage(); -}); - // startpage program teaser $(function() { var |