浏览代码

Fixed a small bug in app.js.

KrisVos130 9 年之前
父节点
当前提交
59fee30508
共有 1 个文件被更改,包括 1 次插入0 次删除
  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();
                             }
                         }