{"action":"opened","issue":{"url":"https://api.github.com/repos/bradmartin/nativescript-videoplayer/issues/27","repository_url":"https://api.github.com/repos/bradmartin/nativescript-videoplayer","labels_url":"https://api.github.com/repos/bradmartin/nativescript-videoplayer/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/bradmartin/nativescript-videoplayer/issues/27/comments","events_url":"https://api.github.com/repos/bradmartin/nativescript-videoplayer/issues/27/events","html_url":"https://github.com/bradmartin/nativescript-videoplayer/issues/27","id":170996594,"number":27,"title":"TS-NG2: Cannot find module './video-source/video-source'.","user":{"login":"jahidshohel","id":15341855,"avatar_url":"https://avatars.githubusercontent.com/u/15341855?v=3","gravatar_id":"","url":"https://api.github.com/users/jahidshohel","html_url":"https://github.com/jahidshohel","followers_url":"https://api.github.com/users/jahidshohel/followers","following_url":"https://api.github.com/users/jahidshohel/following{/other_user}","gists_url":"https://api.github.com/users/jahidshohel/gists{/gist_id}","starred_url":"https://api.github.com/users/jahidshohel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jahidshohel/subscriptions","organizations_url":"https://api.github.com/users/jahidshohel/orgs","repos_url":"https://api.github.com/users/jahidshohel/repos","events_url":"https://api.github.com/users/jahidshohel/events{/privacy}","received_events_url":"https://api.github.com/users/jahidshohel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-13T06:50:28Z","updated_at":"2016-08-13T06:50:28Z","closed_at":null,"body":"I was following the demo app, and I am getting this error when trying to get hold of the player -\r\n\r\n> myPause(e:any) {\r\n        let videoPlayer = topmost().getViewById('nativeVideoPlayer');\r\n        this.doPause(videoPlayer)\r\n    }\r\n    doPause(videoPlayer:Video) {\r\n        videoPlayer.pause();\r\n    }\r\n\r\nAnd the error I am getting is -\r\n\r\n> Found peer TypeScript 1.8.10\r\napp/components/tabs/tab3/tab3.component.ts(27,22): error TS2345: Argument of type 'View' is not assignable to parameter of type 'Video'.\r\n  Property 'src' is missing in type 'View'.\r\n\r\n> node_modules/nativescript-videoplayer/index.d.ts(1,15): error TS2306: File '/Users/jahid/Development/temp/native_script/ns-learning/node_modules/nativescript-videoplayer/videoplayer.d.ts' is not a module.\r\n\r\n> node_modules/nativescript-videoplayer/videoplayer.d.ts(9,5): error TS2439: Import or export declaration in an ambient module declaration cannot reference module through relative module name.\r\n\r\n> node_modules/nativescript-videoplayer/videoplayer.d.ts(9,34): error TS2307: Cannot find module './video-source/video-source'."}}
{"actor":{"display_login":"jahidshohel"}}