{"action":"created","issue":{"url":"https://api.github.com/repos/soundcloud/soundcloud-javascript/issues/27","repository_url":"https://api.github.com/repos/soundcloud/soundcloud-javascript","labels_url":"https://api.github.com/repos/soundcloud/soundcloud-javascript/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/soundcloud/soundcloud-javascript/issues/27/comments","events_url":"https://api.github.com/repos/soundcloud/soundcloud-javascript/issues/27/events","html_url":"https://github.com/soundcloud/soundcloud-javascript/issues/27","id":114016106,"number":27,"title":"Can't play sound in Safari OSX","user":{"login":"patrickjuchli","id":397839,"avatar_url":"https://avatars.githubusercontent.com/u/397839?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickjuchli","html_url":"https://github.com/patrickjuchli","followers_url":"https://api.github.com/users/patrickjuchli/followers","following_url":"https://api.github.com/users/patrickjuchli/following{/other_user}","gists_url":"https://api.github.com/users/patrickjuchli/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickjuchli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickjuchli/subscriptions","organizations_url":"https://api.github.com/users/patrickjuchli/orgs","repos_url":"https://api.github.com/users/patrickjuchli/repos","events_url":"https://api.github.com/users/patrickjuchli/events{/privacy}","received_events_url":"https://api.github.com/users/patrickjuchli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-10-29T09:59:36Z","updated_at":"2016-02-22T17:07:08Z","closed_at":null,"body":"```\r\nSC.initialize({\r\n    client_id: [CLIENT_ID]\r\n});\r\n\r\nSC.get(\"/resolve\", { url: \"https://soundcloud.com/roywoodsofficial/drama-feat-drake\" }).then(t => {\r\n    return SC.stream(\"/tracks/\" + t.id);\r\n}).then(sound => {\r\n    sound.play();\r\n});\r\n```\r\n\r\nWorks in Chrome and Firefox, but Safari 9.0.1 on OSX and Safari on iOS 9.1 are showing the following error message:\r\n\r\n```\r\n[Error] Failed to load resource: Request header field Accept-Encoding is not allowed by Access-Control-Allow-Headers. (216772566.json, line 0)\r\n[Error] XMLHttpRequest cannot load https://api.soundcloud.com/tracks/216772566.json?client_id=2e2d678be10b5a5d2d62af34b194428e. Request header field Accept-Encoding is not allowed by Access-Control-Allow-Headers.\r\n```\r\n\r\nUsing the SDK at `connect.soundcloud.com/sdk/sdk-3.0.0.js` as well as `soundcloud 3.0.1` on NPM.\r\n"},"comment":{"url":"https://api.github.com/repos/soundcloud/soundcloud-javascript/issues/comments/187271061","html_url":"https://github.com/soundcloud/soundcloud-javascript/issues/27#issuecomment-187271061","issue_url":"https://api.github.com/repos/soundcloud/soundcloud-javascript/issues/27","id":187271061,"user":{"login":"andrefelipe","id":308009,"avatar_url":"https://avatars.githubusercontent.com/u/308009?v=3","gravatar_id":"","url":"https://api.github.com/users/andrefelipe","html_url":"https://github.com/andrefelipe","followers_url":"https://api.github.com/users/andrefelipe/followers","following_url":"https://api.github.com/users/andrefelipe/following{/other_user}","gists_url":"https://api.github.com/users/andrefelipe/gists{/gist_id}","starred_url":"https://api.github.com/users/andrefelipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrefelipe/subscriptions","organizations_url":"https://api.github.com/users/andrefelipe/orgs","repos_url":"https://api.github.com/users/andrefelipe/repos","events_url":"https://api.github.com/users/andrefelipe/events{/privacy}","received_events_url":"https://api.github.com/users/andrefelipe/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T17:07:08Z","updated_at":"2016-02-22T17:07:08Z","body":"+1"}}