From: riccardo Date: Wed, 1 Jun 2011 14:21:12 +0000 (+0200) Subject: fixed minor play state X-Git-Tag: 1.1~141 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=23fc90b46063733677bd07bfbc99cc37b950fe4b;p=telemeta.git fixed minor play state ------------- This line and the following will be ignored -------------- modified: telemeta/htdocs/timeside/js/player.js --- 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)