{"action":"opened","issue":{"url":"https://api.github.com/repos/CreateJS/SoundJS/issues/220","labels_url":"https://api.github.com/repos/CreateJS/SoundJS/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/CreateJS/SoundJS/issues/220/comments","events_url":"https://api.github.com/repos/CreateJS/SoundJS/issues/220/events","html_url":"https://github.com/CreateJS/SoundJS/issues/220","id":118826154,"number":220,"title":"SoundJS throwing FileError in UIWebView and WebKitWebView on iPad","user":{"login":"Rosefalk","id":10974223,"avatar_url":"https://avatars.githubusercontent.com/u/10974223?v=3","gravatar_id":"","url":"https://api.github.com/users/Rosefalk","html_url":"https://github.com/Rosefalk","followers_url":"https://api.github.com/users/Rosefalk/followers","following_url":"https://api.github.com/users/Rosefalk/following{/other_user}","gists_url":"https://api.github.com/users/Rosefalk/gists{/gist_id}","starred_url":"https://api.github.com/users/Rosefalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rosefalk/subscriptions","organizations_url":"https://api.github.com/users/Rosefalk/orgs","repos_url":"https://api.github.com/users/Rosefalk/repos","events_url":"https://api.github.com/users/Rosefalk/events{/privacy}","received_events_url":"https://api.github.com/users/Rosefalk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-25T12:26:27Z","updated_at":"2015-11-25T12:26:27Z","closed_at":null,"body":"When loading and playing a simple sound using SoundJS in a html document in UIWebView and WebKitWebView on iPad a FileError is returned. Works fine in Safari on iPad and on desktop browsers.\r\n\r\nExample:\r\n\r\nfunction initAudio() {\r\n    createjs.Sound.on(\"fileload\", function(event) {\r\n\tvar button = $(\"<button>\").text(\"Play sound\").click(function() {\r\n\t  createjs.Sound.play(event.src);  \r\n\t});\r\n\t$(\"body\").append(button);\r\n    });\r\n    createjs.Sound.on(\"fileerror\", function(event) {\r\n\t$(\"body\").append(JSON.stringify(event));\r\n    });\r\n    createjs.Sound.registerSound(\"assets/speech.mp3\", \"speech\");\r\n}\r\ninitAudio();"}}