{"action":"closed","number":136,"pull_request":{"url":"https://api.github.com/repos/apache/cordova-plugin-media/pulls/136","id":110472626,"html_url":"https://github.com/apache/cordova-plugin-media/pull/136","diff_url":"https://github.com/apache/cordova-plugin-media/pull/136.diff","patch_url":"https://github.com/apache/cordova-plugin-media/pull/136.patch","issue_url":"https://api.github.com/repos/apache/cordova-plugin-media/issues/136","number":136,"state":"closed","locked":false,"title":" mediaFile.play(); its not working ","user":{"login":"Nagaraj007","id":7358558,"avatar_url":"https://avatars3.githubusercontent.com/u/7358558?v=3","gravatar_id":"","url":"https://api.github.com/users/Nagaraj007","html_url":"https://github.com/Nagaraj007","followers_url":"https://api.github.com/users/Nagaraj007/followers","following_url":"https://api.github.com/users/Nagaraj007/following{/other_user}","gists_url":"https://api.github.com/users/Nagaraj007/gists{/gist_id}","starred_url":"https://api.github.com/users/Nagaraj007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nagaraj007/subscriptions","organizations_url":"https://api.github.com/users/Nagaraj007/orgs","repos_url":"https://api.github.com/users/Nagaraj007/repos","events_url":"https://api.github.com/users/Nagaraj007/events{/privacy}","received_events_url":"https://api.github.com/users/Nagaraj007/received_events","type":"User","site_admin":false},"body":"\r\nBelow is my code which i implemented  but its not _working,I am getting the local url of my recorded file and passing it to playRecord function,But when i call on playRecord its not working,need help\r\n\r\nvar url\r\n function OnFileEntry(file) {\r\n            url = file.localURL\r\n            alert(cdvfile://localhost/persistent/myrecording/file_name.m4a);\r\n            voicefileName = file.name;\r\n            alert(voicefileName);\r\n            var reader = new FileReader();\r\n            reader.onloadend = function (evt) {\r\n                            };\r\n            reader.readAsDataURL(file);\r\n        }\r\n\r\n     \r\nfunction playRecord() {\r\n            alert(cdvfile://localhost/persistent/myrecording/file_name.m4a);\r\n            var mediaFile = new Media(url,\r\n                function () {\r\n                    alert(\"playAudio():Audio Success\");\r\n\r\n                },\r\n                function (err) {console.log(\"playAudio():Audio Error: \" + err);\r\n                });\r\n            // Play audio\r\n            mediaFile.play();\r\n        }\r\n","created_at":"2017-03-13T18:48:38Z","updated_at":"2017-04-25T01:02:03Z","closed_at":"2017-04-25T01:02:03Z","merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/cordova-plugin-media/pulls/136/commits","review_comments_url":"https://api.github.com/repos/apache/cordova-plugin-media/pulls/136/comments","review_comment_url":"https://api.github.com/repos/apache/cordova-plugin-media/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/cordova-plugin-media/issues/136/comments","statuses_url":"https://api.github.com/repos/apache/cordova-plugin-media/statuses/e2104d0d148c103b04da87aad61238c791bcb7f8","head":{"label":"apache:master","ref":"master","sha":"e2104d0d148c103b04da87aad61238c791bcb7f8","user":{"login":"apache","id":47359,"avatar_url":"https://avatars3.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":10860604,"name":"cordova-plugin-media","full_name":"apache/cordova-plugin-media","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars3.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/cordova-plugin-media","description":"Mirror of Apache Cordova Plugin media","fork":false,"url":"https://api.github.com/repos/apache/cordova-plugin-media","forks_url":"https://api.github.com/repos/apache/cordova-plugin-media/forks","keys_url":"https://api.github.com/repos/apache/cordova-plugin-media/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/cordova-plugin-media/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/cordova-plugin-media/teams","hooks_url":"https://api.github.com/repos/apache/cordova-plugin-media/hooks","issue_events_url":"https://api.github.com/repos/apache/cordova-plugin-media/issues/events{/number}","events_url":"https://api.github.com/repos/apache/cordova-plugin-media/events","assignees_url":"https://api.github.com/repos/apache/cordova-plugin-media/assignees{/user}","branches_url":"https://api.github.com/repos/apache/cordova-plugin-media/branches{/branch}","tags_url":"https://api.github.com/repos/apache/cordova-plugin-media/tags","blobs_url":"https://api.github.com/repos/apache/cordova-plugin-media/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/cordova-plugin-media/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/cordova-plugin-media/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/cordova-plugin-media/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/cordova-plugin-media/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/cordova-plugin-media/languages","stargazers_url":"https://api.github.com/repos/apache/cordova-plugin-media/stargazers","contributors_url":"https://api.github.com/repos/apache/cordova-plugin-media/contributors","subscribers_url":"https://api.github.com/repos/apache/cordova-plugin-media/subscribers","subscription_url":"https://api.github.com/repos/apache/cordova-plugin-media/subscription","commits_url":"https://api.github.com/repos/apache/cordova-plugin-media/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/cordova-plugin-media/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/cordova-plugin-media/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/cordova-plugin-media/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/cordova-plugin-media/contents/{+path}","compare_url":"https://api.github.com/repos/apache/cordova-plugin-media/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/cordova-plugin-media/merges","archive_url":"https://api.github.com/repos/apache/cordova-plugin-media/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/cordova-plugin-media/downloads","issues_url":"https://api.github.com/repos/apache/cordova-plugin-media/issues{/number}","pulls_url":"https://api.github.com/repos/apache/cordova-plugin-media/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/cordova-plugin-media/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/cordova-plugin-media/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/cordova-plugin-media/labels{/name}","releases_url":"https://api.github.com/repos/apache/cordova-plugin-media/releases{/id}","deployments_url":"https://api.github.com/repos/apache/cordova-plugin-media/deployments","created_at":"2013-06-22T07:00:17Z","updated_at":"2017-04-23T22:07:59Z","pushed_at":"2017-04-25T01:02:03Z","git_url":"git://github.com/apache/cordova-plugin-media.git","ssh_url":"git@github.com:apache/cordova-plugin-media.git","clone_url":"https://github.com/apache/cordova-plugin-media.git","svn_url":"https://github.com/apache/cordova-plugin-media","homepage":null,"size":662,"stargazers_count":230,"watchers_count":230,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":444,"mirror_url":"git://git.apache.org/cordova-plugin-media.git","open_issues_count":30,"forks":444,"open_issues":30,"watchers":230,"default_branch":"master"}},"base":{"label":"apache:3.0.x","ref":"3.0.x","sha":"cd621b1ff321d6807a0dc8faf42668431e15b8d7","user":{"login":"apache","id":47359,"avatar_url":"https://avatars3.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":10860604,"name":"cordova-plugin-media","full_name":"apache/cordova-plugin-media","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars3.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/cordova-plugin-media","description":"Mirror of Apache Cordova Plugin media","fork":false,"url":"https://api.github.com/repos/apache/cordova-plugin-media","forks_url":"https://api.github.com/repos/apache/cordova-plugin-media/forks","keys_url":"https://api.github.com/repos/apache/cordova-plugin-media/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/cordova-plugin-media/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/cordova-plugin-media/teams","hooks_url":"https://api.github.com/repos/apache/cordova-plugin-media/hooks","issue_events_url":"https://api.github.com/repos/apache/cordova-plugin-media/issues/events{/number}","events_url":"https://api.github.com/repos/apache/cordova-plugin-media/events","assignees_url":"https://api.github.com/repos/apache/cordova-plugin-media/assignees{/user}","branches_url":"https://api.github.com/repos/apache/cordova-plugin-media/branches{/branch}","tags_url":"https://api.github.com/repos/apache/cordova-plugin-media/tags","blobs_url":"https://api.github.com/repos/apache/cordova-plugin-media/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/cordova-plugin-media/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/cordova-plugin-media/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/cordova-plugin-media/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/cordova-plugin-media/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/cordova-plugin-media/languages","stargazers_url":"https://api.github.com/repos/apache/cordova-plugin-media/stargazers","contributors_url":"https://api.github.com/repos/apache/cordova-plugin-media/contributors","subscribers_url":"https://api.github.com/repos/apache/cordova-plugin-media/subscribers","subscription_url":"https://api.github.com/repos/apache/cordova-plugin-media/subscription","commits_url":"https://api.github.com/repos/apache/cordova-plugin-media/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/cordova-plugin-media/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/cordova-plugin-media/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/cordova-plugin-media/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/cordova-plugin-media/contents/{+path}","compare_url":"https://api.github.com/repos/apache/cordova-plugin-media/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/cordova-plugin-media/merges","archive_url":"https://api.github.com/repos/apache/cordova-plugin-media/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/cordova-plugin-media/downloads","issues_url":"https://api.github.com/repos/apache/cordova-plugin-media/issues{/number}","pulls_url":"https://api.github.com/repos/apache/cordova-plugin-media/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/cordova-plugin-media/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/cordova-plugin-media/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/cordova-plugin-media/labels{/name}","releases_url":"https://api.github.com/repos/apache/cordova-plugin-media/releases{/id}","deployments_url":"https://api.github.com/repos/apache/cordova-plugin-media/deployments","created_at":"2013-06-22T07:00:17Z","updated_at":"2017-04-23T22:07:59Z","pushed_at":"2017-04-25T01:02:03Z","git_url":"git://github.com/apache/cordova-plugin-media.git","ssh_url":"git@github.com:apache/cordova-plugin-media.git","clone_url":"https://github.com/apache/cordova-plugin-media.git","svn_url":"https://github.com/apache/cordova-plugin-media","homepage":null,"size":662,"stargazers_count":230,"watchers_count":230,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":444,"mirror_url":"git://git.apache.org/cordova-plugin-media.git","open_issues_count":30,"forks":444,"open_issues":30,"watchers":230,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/cordova-plugin-media/pulls/136"},"html":{"href":"https://github.com/apache/cordova-plugin-media/pull/136"},"issue":{"href":"https://api.github.com/repos/apache/cordova-plugin-media/issues/136"},"comments":{"href":"https://api.github.com/repos/apache/cordova-plugin-media/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/cordova-plugin-media/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/cordova-plugin-media/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/cordova-plugin-media/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/apache/cordova-plugin-media/statuses/e2104d0d148c103b04da87aad61238c791bcb7f8"}},"merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":3,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":34,"deletions":4,"changed_files":5}}
{"actor":{"display_login":"asfgit"}}