]> git.parisson.com Git - telemeta.git/commitdiff
fixed minor play state
authorriccardo <riccardo@parisson.com>
Wed, 1 Jun 2011 14:21:12 +0000 (16:21 +0200)
committerriccardo <riccardo@parisson.com>
Wed, 1 Jun 2011 14:21:12 +0000 (16:21 +0200)
------------- This line and the following will be ignored --------------

modified:
  telemeta/htdocs/timeside/js/player.js

telemeta/htdocs/timeside/js/player.js

index 27eec153b78dff78c6349827b7b070c07b01aed2..f71600e5352fcc177a033ef3d35e9e61b3730401 100644 (file)
@@ -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)