Răsfoiți Sursa

Fixed a small bug in app.js.

KrisVos130 9 ani în urmă
părinte
comite
59fee30508
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      app/app.js

+ 1 - 0
app/app.js

@@ -792,6 +792,7 @@ if (Meteor.isClient) {
                             Session.set("state", "playing");
                             if (yt_player !== undefined && yt_player.getPlayerState() !== 1) {
                                 yt_player.playVideo();
+                            } else if (_sound !== undefined && _sound.getState().indexOf("paused") !== -1) {
                                 _sound.play();
                             }
                         }