{"action":"created","issue":{"url":"https://api.github.com/repos/goldfire/howler.js/issues/397","repository_url":"https://api.github.com/repos/goldfire/howler.js","labels_url":"https://api.github.com/repos/goldfire/howler.js/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/goldfire/howler.js/issues/397/comments","events_url":"https://api.github.com/repos/goldfire/howler.js/issues/397/events","html_url":"https://github.com/goldfire/howler.js/issues/397","id":118926104,"number":397,"title":"set http header","user":{"login":"st-h","id":5768353,"avatar_url":"https://avatars.githubusercontent.com/u/5768353?v=3","gravatar_id":"","url":"https://api.github.com/users/st-h","html_url":"https://github.com/st-h","followers_url":"https://api.github.com/users/st-h/followers","following_url":"https://api.github.com/users/st-h/following{/other_user}","gists_url":"https://api.github.com/users/st-h/gists{/gist_id}","starred_url":"https://api.github.com/users/st-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/st-h/subscriptions","organizations_url":"https://api.github.com/users/st-h/orgs","repos_url":"https://api.github.com/users/st-h/repos","events_url":"https://api.github.com/users/st-h/events{/privacy}","received_events_url":"https://api.github.com/users/st-h/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/goldfire/howler.js/milestones/2","html_url":"https://github.com/goldfire/howler.js/milestones/Future","labels_url":"https://api.github.com/repos/goldfire/howler.js/milestones/2/labels","id":1335527,"number":2,"title":"Future","description":"","creator":{"login":"goldfire","id":882005,"avatar_url":"https://avatars.githubusercontent.com/u/882005?v=3","gravatar_id":"","url":"https://api.github.com/users/goldfire","html_url":"https://github.com/goldfire","followers_url":"https://api.github.com/users/goldfire/followers","following_url":"https://api.github.com/users/goldfire/following{/other_user}","gists_url":"https://api.github.com/users/goldfire/gists{/gist_id}","starred_url":"https://api.github.com/users/goldfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldfire/subscriptions","organizations_url":"https://api.github.com/users/goldfire/orgs","repos_url":"https://api.github.com/users/goldfire/repos","events_url":"https://api.github.com/users/goldfire/events{/privacy}","received_events_url":"https://api.github.com/users/goldfire/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":0,"state":"open","created_at":"2015-10-02T19:52:53Z","updated_at":"2016-06-23T02:18:11Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-11-25T21:22:11Z","updated_at":"2016-06-26T10:07:51Z","closed_at":null,"body":"any chance to add a property to set a http header for the request that is retrieving the audio? This would be useful for instance if the audio file is only available to authenticated users."},"comment":{"url":"https://api.github.com/repos/goldfire/howler.js/issues/comments/228593721","html_url":"https://github.com/goldfire/howler.js/issues/397#issuecomment-228593721","issue_url":"https://api.github.com/repos/goldfire/howler.js/issues/397","id":228593721,"user":{"login":"st-h","id":5768353,"avatar_url":"https://avatars.githubusercontent.com/u/5768353?v=3","gravatar_id":"","url":"https://api.github.com/users/st-h","html_url":"https://github.com/st-h","followers_url":"https://api.github.com/users/st-h/followers","following_url":"https://api.github.com/users/st-h/following{/other_user}","gists_url":"https://api.github.com/users/st-h/gists{/gist_id}","starred_url":"https://api.github.com/users/st-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/st-h/subscriptions","organizations_url":"https://api.github.com/users/st-h/orgs","repos_url":"https://api.github.com/users/st-h/repos","events_url":"https://api.github.com/users/st-h/events{/privacy}","received_events_url":"https://api.github.com/users/st-h/received_events","type":"User","site_admin":false},"created_at":"2016-06-26T10:07:51Z","updated_at":"2016-06-26T10:07:51Z","body":"I have been looking into this more closely and it could be implemented very easily for web audio.\r\nHowever I could not find a way to support http headers with HTML5 audio. Any ideas on that?\r\n\r\nThere still are cookies to support sending data like a token, however the support on android has been broken for quite a while ( https://code.google.com/p/android/issues/detail?id=66050 )\r\n\r\nAs a last resort it would be possible to send the required data via query params, however this could be a quite dangerous thing to do if the link to the audio file is directly accessible to the user. Sharing the link to the audio file would automatically share the session."}}
{"actor":{"display_login":"st-h"}}