{"action":"created","issue":{"url":"https://api.github.com/repos/nstudio/nativescript-videoplayer/issues/74","repository_url":"https://api.github.com/repos/nstudio/nativescript-videoplayer","labels_url":"https://api.github.com/repos/nstudio/nativescript-videoplayer/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/nstudio/nativescript-videoplayer/issues/74/comments","events_url":"https://api.github.com/repos/nstudio/nativescript-videoplayer/issues/74/events","html_url":"https://github.com/nstudio/nativescript-videoplayer/issues/74","id":228477920,"node_id":"MDU6SXNzdWUyMjg0Nzc5MjA=","number":74,"title":"finished event not firing","user":{"login":"jibon57","id":6080277,"node_id":"MDQ6VXNlcjYwODAyNzc=","avatar_url":"https://avatars1.githubusercontent.com/u/6080277?v=4","gravatar_id":"","url":"https://api.github.com/users/jibon57","html_url":"https://github.com/jibon57","followers_url":"https://api.github.com/users/jibon57/followers","following_url":"https://api.github.com/users/jibon57/following{/other_user}","gists_url":"https://api.github.com/users/jibon57/gists{/gist_id}","starred_url":"https://api.github.com/users/jibon57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jibon57/subscriptions","organizations_url":"https://api.github.com/users/jibon57/orgs","repos_url":"https://api.github.com/users/jibon57/repos","events_url":"https://api.github.com/users/jibon57/events{/privacy}","received_events_url":"https://api.github.com/users/jibon57/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-05-13T14:48:14Z","updated_at":"2018-07-02T09:20:06Z","closed_at":"2017-05-13T17:58:52Z","author_association":"NONE","body":"Hello,\r\n\r\nI am trying with angularjs but don't know whey none of the Properties event not firing.\r\n\r\n`<VideoPlayer #video playbackReady=\"{{videoReady}}\"  finished=\"videoFinish()\" src=\"{{videoSrc}}\" autoplay=\"true\" height=\"300\"></VideoPlayer>`\r\n\r\nI can set the src but can't get finished or any other events. Parts of TS code.\r\n\r\n```\r\nimport { Video } from \"nativescript-videoplayer\";\r\nimport { registerElement } from \"nativescript-angular/element-registry\";\r\nregisterElement(\"VideoPlayer\", () => require(\"nativescript-videoplayer\").Video);\r\n\r\nexport class VideoComponent {\r\n\r\n    @ViewChild(\"video\") public video: ElementRef;\r\n    private videoPlayer: Video;\r\n\r\nngAfterViewInit() {\r\n        this.videoPlayer = this.video.nativeElement;\r\n    }\r\npublic videoFinish(args) {\r\n        console.log(\"Yes Finished\");\r\n    }\r\n```\r\nAny idea where I am doing wrong... Thanks in advance."},"comment":{"url":"https://api.github.com/repos/nstudio/nativescript-videoplayer/issues/comments/401729077","html_url":"https://github.com/nstudio/nativescript-videoplayer/issues/74#issuecomment-401729077","issue_url":"https://api.github.com/repos/nstudio/nativescript-videoplayer/issues/74","id":401729077,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTcyOTA3Nw==","user":{"login":"aaayushsingh","id":19550852,"node_id":"MDQ6VXNlcjE5NTUwODUy","avatar_url":"https://avatars1.githubusercontent.com/u/19550852?v=4","gravatar_id":"","url":"https://api.github.com/users/aaayushsingh","html_url":"https://github.com/aaayushsingh","followers_url":"https://api.github.com/users/aaayushsingh/followers","following_url":"https://api.github.com/users/aaayushsingh/following{/other_user}","gists_url":"https://api.github.com/users/aaayushsingh/gists{/gist_id}","starred_url":"https://api.github.com/users/aaayushsingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaayushsingh/subscriptions","organizations_url":"https://api.github.com/users/aaayushsingh/orgs","repos_url":"https://api.github.com/users/aaayushsingh/repos","events_url":"https://api.github.com/users/aaayushsingh/events{/privacy}","received_events_url":"https://api.github.com/users/aaayushsingh/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T09:20:06Z","updated_at":"2018-07-02T09:20:06Z","author_association":"NONE","body":"@wanpeng2008 you can also use (finishedEvent)=\"videoFinish()\" instead. \r\n`finished` isn't fired because its's not an event, `finishedEvent` is."}}
{"actor":{"display_login":"aaayushsingh"}}