{"action":"closed","issue":{"url":"https://api.github.com/repos/mediaelement/mediaelement/issues/2277","repository_url":"https://api.github.com/repos/mediaelement/mediaelement","labels_url":"https://api.github.com/repos/mediaelement/mediaelement/issues/2277/labels{/name}","comments_url":"https://api.github.com/repos/mediaelement/mediaelement/issues/2277/comments","events_url":"https://api.github.com/repos/mediaelement/mediaelement/issues/2277/events","html_url":"https://github.com/mediaelement/mediaelement/issues/2277","id":234962369,"number":2277,"title":"player.remove() not working","user":{"login":"DanProudfoot","id":2256434,"avatar_url":"https://avatars1.githubusercontent.com/u/2256434?v=3","gravatar_id":"","url":"https://api.github.com/users/DanProudfoot","html_url":"https://github.com/DanProudfoot","followers_url":"https://api.github.com/users/DanProudfoot/followers","following_url":"https://api.github.com/users/DanProudfoot/following{/other_user}","gists_url":"https://api.github.com/users/DanProudfoot/gists{/gist_id}","starred_url":"https://api.github.com/users/DanProudfoot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanProudfoot/subscriptions","organizations_url":"https://api.github.com/users/DanProudfoot/orgs","repos_url":"https://api.github.com/users/DanProudfoot/repos","events_url":"https://api.github.com/users/DanProudfoot/events{/privacy}","received_events_url":"https://api.github.com/users/DanProudfoot/received_events","type":"User","site_admin":false},"labels":[{"id":520558426,"url":"https://api.github.com/repos/mediaelement/mediaelement/labels/Needs%20verification","name":"Needs verification","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2017-06-09T23:45:46Z","updated_at":"2017-06-16T18:33:26Z","closed_at":"2017-06-16T18:33:25Z","body":"I'm running player.remove() on a player, and keep getting the error:\r\n\r\n`Unable to get property 'getAttribute' of undefined or null reference`\r\n\r\nThe lines in question seem to be in the function setResponsiveMode() nativewidth and nativeheight. It fails trying to get these dimensions because the node disappears from the object (after about 3 loops)\r\n\r\nI can't really determine what the problem is. Even if I loop over the items in mejs.players and call remove on them, the error still occurs - even if I'm not removing anything from the DOM otherwise."}}
{"actor":{"display_login":"rafa8626"}}