# HG changeset patch # User Edwin Razafimahatratra # Date 1355325928 -3600 # Node ID cb8403125d4dd17867d4ec3ac14fd424df04148e # Parent d92196482ad9b9c4f5266bcfbab5cf463c330a0a tweaks diff -r d92196482ad9 -r cb8403125d4d web/static/res/js/incplayer.js --- a/web/static/res/js/incplayer.js Wed Dec 12 15:54:57 2012 +0100 +++ b/web/static/res/js/incplayer.js Wed Dec 12 16:25:28 2012 +0100 @@ -208,10 +208,10 @@ $(self.progressCurrent).html(self.secondsToTime(currentTime)); // Detect vsquence end - if (self.popSeq.active == 2 && currentTime >= self.popSeq.duration()) { + if (self.popSeq.active == 2 && currentTime >= self.popSeq.duration() - 2) { setTimeout(function() { location.href = "transition.html"; - }, 2000); + }, 4000); } }); @@ -295,6 +295,7 @@ if (this.popSeq.active == this.sequences.length - 1) { // We are at the last video + location.href = "transition.html"; return; }