From 23fc90b46063733677bd07bfbc99cc37b950fe4b Mon Sep 17 00:00:00 2001 From: riccardo Date: Wed, 1 Jun 2011 16:21:12 +0200 Subject: [PATCH] fixed minor play state ------------- This line and the following will be ignored -------------- modified: telemeta/htdocs/timeside/js/player.js --- telemeta/htdocs/timeside/js/player.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/telemeta/htdocs/timeside/js/player.js b/telemeta/htdocs/timeside/js/player.js index 27eec153..f71600e5 100644 --- a/telemeta/htdocs/timeside/js/player.js +++ b/telemeta/htdocs/timeside/js/player.js @@ -205,9 +205,8 @@ Timeside.classes.Player = Timeside.classes.TimesideClass.extend({ case isBufferingId: //in these 2 cases, increment numberOfSubsequentPlayCall numberOfSubsequentPlayCall++; if(numberOfSubsequentPlayCall == minimumNumberOfSubsequentPlayCall){ - if(currentState == isBufferingId){ //wait element displaying: hide it - player.setWait.apply(player,[false]); - } + //if is not buffering, we could skip this. However, there could be the waitbar displaying for some other reason: + player.setWait.apply(player,[false]); currentState = isPlayingId; //set state for future subsequent calls of this case }else{ break; //do not move pointer (default condition below) -- 2.39.5