{"action":"created","issue":{"url":"https://api.github.com/repos/andrewngu/sound-redux/issues/29","labels_url":"https://api.github.com/repos/andrewngu/sound-redux/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/andrewngu/sound-redux/issues/29/comments","events_url":"https://api.github.com/repos/andrewngu/sound-redux/issues/29/events","html_url":"https://github.com/andrewngu/sound-redux/issues/29","id":117850430,"number":29,"title":"add arrow keys for next and previous track","user":{"login":"ghondar","id":6628637,"avatar_url":"https://avatars.githubusercontent.com/u/6628637?v=3","gravatar_id":"","url":"https://api.github.com/users/ghondar","html_url":"https://github.com/ghondar","followers_url":"https://api.github.com/users/ghondar/followers","following_url":"https://api.github.com/users/ghondar/following{/other_user}","gists_url":"https://api.github.com/users/ghondar/gists{/gist_id}","starred_url":"https://api.github.com/users/ghondar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghondar/subscriptions","organizations_url":"https://api.github.com/users/ghondar/orgs","repos_url":"https://api.github.com/users/ghondar/repos","events_url":"https://api.github.com/users/ghondar/events{/privacy}","received_events_url":"https://api.github.com/users/ghondar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-19T16:24:58Z","updated_at":"2015-11-20T18:45:58Z","closed_at":null,"body":"I feel that it is more intuitive to use the right and left arrows to change the music, are mostly used in the majority of players.\r\n\r\nI was watching that using keypress and therefore cannot capture the arrows key events. I see that you use keypress instead of keydown therefore can not capture the events of the arrows.\r\n\r\nAnother solution would be to use [mousetrap](https://craig.is/killing/mice) for keyboard events, being a way to capture more easy to maintain in the development, just add 2kbs to the project"},"comment":{"url":"https://api.github.com/repos/andrewngu/sound-redux/issues/comments/158488821","html_url":"https://github.com/andrewngu/sound-redux/issues/29#issuecomment-158488821","issue_url":"https://api.github.com/repos/andrewngu/sound-redux/issues/29","id":158488821,"user":{"login":"ghondar","id":6628637,"avatar_url":"https://avatars.githubusercontent.com/u/6628637?v=3","gravatar_id":"","url":"https://api.github.com/users/ghondar","html_url":"https://github.com/ghondar","followers_url":"https://api.github.com/users/ghondar/followers","following_url":"https://api.github.com/users/ghondar/following{/other_user}","gists_url":"https://api.github.com/users/ghondar/gists{/gist_id}","starred_url":"https://api.github.com/users/ghondar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghondar/subscriptions","organizations_url":"https://api.github.com/users/ghondar/orgs","repos_url":"https://api.github.com/users/ghondar/repos","events_url":"https://api.github.com/users/ghondar/events{/privacy}","received_events_url":"https://api.github.com/users/ghondar/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T18:45:58Z","updated_at":"2015-11-20T18:45:58Z","body":"I think that it's not possible,When you run Notification.requestPermission, it only shows a popup saying: \"https://soundredux.io\" wants to show notifications -> Block or Allow. \r\n[requestPermission](https://developer.mozilla.org/en-US/docs/Web/API/Notification/requestPermission)\r\n![request]\r\n(http://i.imgur.com/d5dSi3V.png)"}}