{"action":"created","issue":{"url":"https://api.github.com/repos/danielstern/ngAudio/issues/158","repository_url":"https://api.github.com/repos/danielstern/ngAudio","labels_url":"https://api.github.com/repos/danielstern/ngAudio/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/danielstern/ngAudio/issues/158/comments","events_url":"https://api.github.com/repos/danielstern/ngAudio/issues/158/events","html_url":"https://github.com/danielstern/ngAudio/issues/158","id":173142123,"number":158,"title":"Won't playback on iOS 9","user":{"login":"davidrhoderick","id":2300366,"avatar_url":"https://avatars.githubusercontent.com/u/2300366?v=3","gravatar_id":"","url":"https://api.github.com/users/davidrhoderick","html_url":"https://github.com/davidrhoderick","followers_url":"https://api.github.com/users/davidrhoderick/followers","following_url":"https://api.github.com/users/davidrhoderick/following{/other_user}","gists_url":"https://api.github.com/users/davidrhoderick/gists{/gist_id}","starred_url":"https://api.github.com/users/davidrhoderick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidrhoderick/subscriptions","organizations_url":"https://api.github.com/users/davidrhoderick/orgs","repos_url":"https://api.github.com/users/davidrhoderick/repos","events_url":"https://api.github.com/users/davidrhoderick/events{/privacy}","received_events_url":"https://api.github.com/users/davidrhoderick/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-25T08:26:12Z","updated_at":"2016-10-21T15:15:48Z","closed_at":"2016-10-21T15:15:48Z","body":"I realize there are similar errors as per #70 and #147 but I am not using autoplay so this should work.  Here is the code (it's old and not the best but I am trying to wrap up a project from my n00b times):\r\n\r\n    function loadAudio() {\r\n      var audioFiles = [\r\n        '1-soundscape-quiet.mp3',\r\n        '2-soundscape-treesgrowing.mp3',\r\n        '3-soundscape-treesbirds.mp3',\r\n        '4-soundscape-fullforestbirds.mp3'\r\n      ];\r\n\r\n      for(var i = 0; i < audioFiles.length; i++) {\r\n        $scope.sounds.push(ngAudio.load('sounds/' + audioFiles[i]));\r\n        $scope.sounds[i].volume = 0;\r\n        $scope.sounds[i].loop = true;\r\n        $scope.sounds[i].play();\r\n      }\r\n\r\n      $scope.sounds[0].volume = 1;\r\n    }\r\n\r\n`loadAudio()` is called after an \"NGREPEATCOMPLETE\" event, which is occurring (just checked).\r\n\r\nAnd then I change the volume based of each using a mixing function (which I can put up if necessary).  Basically, I'm getting no sound even from the first `play()` call.  Any ideas?  Is this still webkit stopping playback?\r\n\r\n*EDIT*\r\nI was able, on very few occasions, to get audio to playback on iOS but I can't yet figure out how I did it nor why it started."},"comment":{"url":"https://api.github.com/repos/danielstern/ngAudio/issues/comments/255404872","html_url":"https://github.com/danielstern/ngAudio/issues/158#issuecomment-255404872","issue_url":"https://api.github.com/repos/danielstern/ngAudio/issues/158","id":255404872,"user":{"login":"danielstern","id":4268152,"avatar_url":"https://avatars.githubusercontent.com/u/4268152?v=3","gravatar_id":"","url":"https://api.github.com/users/danielstern","html_url":"https://github.com/danielstern","followers_url":"https://api.github.com/users/danielstern/followers","following_url":"https://api.github.com/users/danielstern/following{/other_user}","gists_url":"https://api.github.com/users/danielstern/gists{/gist_id}","starred_url":"https://api.github.com/users/danielstern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielstern/subscriptions","organizations_url":"https://api.github.com/users/danielstern/orgs","repos_url":"https://api.github.com/users/danielstern/repos","events_url":"https://api.github.com/users/danielstern/events{/privacy}","received_events_url":"https://api.github.com/users/danielstern/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T15:15:48Z","updated_at":"2016-10-21T15:15:48Z","body":"Try setting `unlock` to true (see docs)"}}
{"actor":{"display_login":"danielstern"}}