浏览代码

Add explanation to sound hack

Robin Linus 9 年之前
父节点
当前提交
602e509f35
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/elements/sound-notification/sound-notification.html

+ 1 - 0
app/elements/sound-notification/sound-notification.html

@@ -18,6 +18,7 @@ Polymer({
         }
     },
     attached: function() {
+        // mobiles don't like autoplay - the first play must be triggert by user interaction
         var that = this;
         var hackListener = function() {
             that.volumes.blop = 0.1;