{"action":"closed","issue":{"url":"https://api.github.com/repos/2fdevs/videogular/issues/259","labels_url":"https://api.github.com/repos/2fdevs/videogular/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/2fdevs/videogular/issues/259/comments","events_url":"https://api.github.com/repos/2fdevs/videogular/issues/259/events","html_url":"https://github.com/2fdevs/videogular/issues/259","id":100209781,"number":259,"title":"vgChangeSource not working","user":{"login":"pkadetiloye","id":542912,"avatar_url":"https://avatars.githubusercontent.com/u/542912?v=3","gravatar_id":"","url":"https://api.github.com/users/pkadetiloye","html_url":"https://github.com/pkadetiloye","followers_url":"https://api.github.com/users/pkadetiloye/followers","following_url":"https://api.github.com/users/pkadetiloye/following{/other_user}","gists_url":"https://api.github.com/users/pkadetiloye/gists{/gist_id}","starred_url":"https://api.github.com/users/pkadetiloye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkadetiloye/subscriptions","organizations_url":"https://api.github.com/users/pkadetiloye/orgs","repos_url":"https://api.github.com/users/pkadetiloye/repos","events_url":"https://api.github.com/users/pkadetiloye/events{/privacy}","received_events_url":"https://api.github.com/users/pkadetiloye/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/2fdevs/videogular/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-11T02:11:44Z","updated_at":"2015-08-12T10:54:09Z","closed_at":"2015-08-12T10:54:09Z","body":"I cannot get the callback vgChangeSource to work, it's not triggering at all\r\n\r\nNeither of these works.\r\n\r\n````\r\ncontroller.onChangeSource = function(source){\r\n    console.log(\"Source changed...\");\r\n    console.log(controller.API.sources);\r\n    //controller.API.play(); \r\n    //debugger;\r\n  }\r\n````\r\n\r\nOr\r\n\r\n````\r\ncontroller.vgChangeSource = function(source){\r\n    console.log(\"Source changed...\");\r\n    console.log(controller.API.sources);\r\n    //controller.API.play(); \r\n    //debugger;\r\n  }\r\n````"}}