{"action":"created","issue":{"url":"https://api.github.com/repos/twolfson/google-music.js/issues/11","labels_url":"https://api.github.com/repos/twolfson/google-music.js/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/twolfson/google-music.js/issues/11/comments","events_url":"https://api.github.com/repos/twolfson/google-music.js/issues/11/events","html_url":"https://github.com/twolfson/google-music.js/issues/11","id":95889632,"number":11,"title":"[Chrome Extension Development] Failed to execute 'observe' on 'MutationObserver'","user":{"login":"jwmann","id":436270,"avatar_url":"https://avatars.githubusercontent.com/u/436270?v=3","gravatar_id":"","url":"https://api.github.com/users/jwmann","html_url":"https://github.com/jwmann","followers_url":"https://api.github.com/users/jwmann/followers","following_url":"https://api.github.com/users/jwmann/following{/other_user}","gists_url":"https://api.github.com/users/jwmann/gists{/gist_id}","starred_url":"https://api.github.com/users/jwmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwmann/subscriptions","organizations_url":"https://api.github.com/users/jwmann/orgs","repos_url":"https://api.github.com/users/jwmann/repos","events_url":"https://api.github.com/users/jwmann/events{/privacy}","received_events_url":"https://api.github.com/users/jwmann/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-19T05:38:42Z","updated_at":"2015-12-08T09:09:22Z","closed_at":"2015-12-08T09:09:22Z","body":"Hi there,\r\n\r\nI'm attempting to create a Chrome Extension using this library in order to control the volume of Google Play.\r\n\r\nI'm building it using [yeoman](http://yeoman.io/) and its [chrome-extension](https://github.com/yeoman/generator-chrome-extension) generator as a scaffolding for my chrome extension.  \r\nI've installed the google-music library using the bower method.\r\n\r\nI'm able to include the google-music library successfully however issuing a `window.googleMusic = new window.GoogleMusic(window);` results in the follow error: \r\n\r\n````\r\nUncaught NotFoundError: Failed to execute 'observe' on 'MutationObserver': The provided node was null.\r\nproto.hooks.init @ google-music.js:432\r\nbindFn @ google-music.js:58\r\nGoogleMusic @ google-music.js:93\r\n(anonymous function) @ chrome-extension://pnlliefhkcolmjfdanpbdmkadhhidkda/scripts/contentscript.js:2\r\n````\r\n\r\nAnd points to this function on line 432: \r\n````\r\naddObserver.observe(this.doc.getElementById(SELECTORS.info.containerId), {\r\n  childList: true,\r\n  subtree: true\r\n});\r\n````\r\n\r\nNot sure if this is just a limitation of the chrome extension api or if there's something I'm doing wrong.\r\n\r\nWould appreciate some thoughts / help on the matter."},"comment":{"url":"https://api.github.com/repos/twolfson/google-music.js/issues/comments/162822766","html_url":"https://github.com/twolfson/google-music.js/issues/11#issuecomment-162822766","issue_url":"https://api.github.com/repos/twolfson/google-music.js/issues/11","id":162822766,"user":{"login":"twolfson","id":902488,"avatar_url":"https://avatars.githubusercontent.com/u/902488?v=3","gravatar_id":"","url":"https://api.github.com/users/twolfson","html_url":"https://github.com/twolfson","followers_url":"https://api.github.com/users/twolfson/followers","following_url":"https://api.github.com/users/twolfson/following{/other_user}","gists_url":"https://api.github.com/users/twolfson/gists{/gist_id}","starred_url":"https://api.github.com/users/twolfson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twolfson/subscriptions","organizations_url":"https://api.github.com/users/twolfson/orgs","repos_url":"https://api.github.com/users/twolfson/repos","events_url":"https://api.github.com/users/twolfson/events{/privacy}","received_events_url":"https://api.github.com/users/twolfson/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T09:09:22Z","updated_at":"2015-12-08T09:09:22Z","body":"It's been 5 months since this issue was opened. It sounds like everything is working now. Closing issue."}}