{"action":"created","issue":{"url":"https://api.github.com/repos/GlobalQuran/mobile-app/issues/1","repository_url":"https://api.github.com/repos/GlobalQuran/mobile-app","labels_url":"https://api.github.com/repos/GlobalQuran/mobile-app/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/GlobalQuran/mobile-app/issues/1/comments","events_url":"https://api.github.com/repos/GlobalQuran/mobile-app/issues/1/events","html_url":"https://github.com/GlobalQuran/mobile-app/issues/1","id":134185153,"number":1,"title":"Player","user":{"login":"iBasit","id":34341,"avatar_url":"https://avatars.githubusercontent.com/u/34341?v=3","gravatar_id":"","url":"https://api.github.com/users/iBasit","html_url":"https://github.com/iBasit","followers_url":"https://api.github.com/users/iBasit/followers","following_url":"https://api.github.com/users/iBasit/following{/other_user}","gists_url":"https://api.github.com/users/iBasit/gists{/gist_id}","starred_url":"https://api.github.com/users/iBasit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iBasit/subscriptions","organizations_url":"https://api.github.com/users/iBasit/orgs","repos_url":"https://api.github.com/users/iBasit/repos","events_url":"https://api.github.com/users/iBasit/events{/privacy}","received_events_url":"https://api.github.com/users/iBasit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GlobalQuran/mobile-app/labels/Angular","name":"Angular","color":"e6e6e6"},{"url":"https://api.github.com/repos/GlobalQuran/mobile-app/labels/Feature","name":"Feature","color":"02e10c"},{"url":"https://api.github.com/repos/GlobalQuran/mobile-app/labels/ionic","name":"ionic","color":"e6e6e6"},{"url":"https://api.github.com/repos/GlobalQuran/mobile-app/labels/Player","name":"Player","color":"e6e6e6"}],"state":"open","locked":false,"assignee":{"login":"moazzamk","id":34487,"avatar_url":"https://avatars.githubusercontent.com/u/34487?v=3","gravatar_id":"","url":"https://api.github.com/users/moazzamk","html_url":"https://github.com/moazzamk","followers_url":"https://api.github.com/users/moazzamk/followers","following_url":"https://api.github.com/users/moazzamk/following{/other_user}","gists_url":"https://api.github.com/users/moazzamk/gists{/gist_id}","starred_url":"https://api.github.com/users/moazzamk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moazzamk/subscriptions","organizations_url":"https://api.github.com/users/moazzamk/orgs","repos_url":"https://api.github.com/users/moazzamk/repos","events_url":"https://api.github.com/users/moazzamk/events{/privacy}","received_events_url":"https://api.github.com/users/moazzamk/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-02-17T05:41:51Z","updated_at":"2016-03-12T18:45:28Z","closed_at":null,"body":"We need to add a player for the app, which will have following features. \r\n\r\nWe need to use following libraries for this\r\n\r\n- [ ] ionic-native2 - which is a wrapper for cordovo  native solutions (https://github.com/SidneyS/cordova-plugin-nativeaudio)\r\n\r\n- [ ] future - add html5 support for desktop view\r\n\r\n[Note] Only Basic features needed for the launch and more features can just need work on top. \r\n\r\nFirst release features:\r\n\r\n- [ ] Load current ayah (automatically always) - change by config\r\n- [ ] Load next ayah (automatically always) - change by config\r\n- [ ] start playing from different ayah selection by function playAyah(surah, ayah) or playAyah(6236)\r\n- [ ] load more than one recitor, which means, if ayah is playing 1 and two recitor selected, then it will play ayah 1 each time by different recitor, before moving to next ayah.\r\n\r\n\r\nOther features:\r\n\r\n- [ ] start playing single word on different player or on same player (later on discussion)\r\n- [ ] x times repeat ayah (settings)\r\n- [ ] let user select which audio quality he prefer (settings) \r\n- [ ] audio quality - automatic bandwidth selection for the user (if its default setting)\r\n\r\nSuggestions:\r\n\r\n- [ ] ability to record user recitation\r\n- [ ] compare user recording with other recitor\r\n- [ ] the ability to play videos from youtube/html5 relating to certain ayahs i.e https://www.youtube.com/watch?v=wg9hEzl0eYU&list=PLB9DAD6B9EDAEE7BC\r\n\r\nRestrictions:\r\n\r\n- HTML5 support only, no fallback SWF support.\r\n- Build with angular2 + typescript\r\n- We need to create set of functionality, which we can change from native to pure html5, but html5 will be in future support, right now its native only. \r\n\r\nhere is a link to get idea for html5: https://github.com/davidtran/angular2-soundcloud \r\n\r\n\r\n### Audio link format:\r\n```\r\nhttps://audio.globalquran.com/{quranId}/{format}/{quality}/{verseNo}.{format}\r\n\r\nhttps://audio.globalquran.com/ar.abdulbasitmurattal/mp3/64kbs/8.mp3\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/GlobalQuran/mobile-app/issues/comments/195784343","html_url":"https://github.com/GlobalQuran/mobile-app/issues/1#issuecomment-195784343","issue_url":"https://api.github.com/repos/GlobalQuran/mobile-app/issues/1","id":195784343,"user":{"login":"moazzamk","id":34487,"avatar_url":"https://avatars.githubusercontent.com/u/34487?v=3","gravatar_id":"","url":"https://api.github.com/users/moazzamk","html_url":"https://github.com/moazzamk","followers_url":"https://api.github.com/users/moazzamk/followers","following_url":"https://api.github.com/users/moazzamk/following{/other_user}","gists_url":"https://api.github.com/users/moazzamk/gists{/gist_id}","starred_url":"https://api.github.com/users/moazzamk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moazzamk/subscriptions","organizations_url":"https://api.github.com/users/moazzamk/orgs","repos_url":"https://api.github.com/users/moazzamk/repos","events_url":"https://api.github.com/users/moazzamk/events{/privacy}","received_events_url":"https://api.github.com/users/moazzamk/received_events","type":"User","site_admin":false},"created_at":"2016-03-12T18:45:28Z","updated_at":"2016-03-12T18:45:28Z","body":"you can alsoo just use a delimiter instead of zeroes.\n\nsurah 8 : 8.mp3\nverse by verse 8.1.mp3\nword by word : 8.1.1.mp3\n\nOn Sat, Mar 12, 2016 at 4:57 AM, Ashraf Ali <notifications@github.com>\nwrote:\n\n> @iBasit <https://github.com/iBasit> for all audio/SVG asset i.e the\n> number would have leading zeros and we could have a method that adds the\n> zeros automatically when the user tries to access it via API surah 8 =>\n> 008.\n> surah: 001.mp3\n> verse by verse: 001001.mp3\n> word by word: 0010010001.mp3\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/GlobalQuran/mobile-app/issues/1#issuecomment-195715808>\n> .\n>\n"}}