{"action":"created","issue":{"url":"https://api.github.com/repos/VodkaBears/Vide/issues/105","labels_url":"https://api.github.com/repos/VodkaBears/Vide/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/VodkaBears/Vide/issues/105/comments","events_url":"https://api.github.com/repos/VodkaBears/Vide/issues/105/events","html_url":"https://github.com/VodkaBears/Vide/issues/105","id":95453795,"number":105,"title":"destroy()","user":{"login":"polikin","id":3017112,"avatar_url":"https://avatars.githubusercontent.com/u/3017112?v=3","gravatar_id":"","url":"https://api.github.com/users/polikin","html_url":"https://github.com/polikin","followers_url":"https://api.github.com/users/polikin/followers","following_url":"https://api.github.com/users/polikin/following{/other_user}","gists_url":"https://api.github.com/users/polikin/gists{/gist_id}","starred_url":"https://api.github.com/users/polikin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polikin/subscriptions","organizations_url":"https://api.github.com/users/polikin/orgs","repos_url":"https://api.github.com/users/polikin/repos","events_url":"https://api.github.com/users/polikin/events{/privacy}","received_events_url":"https://api.github.com/users/polikin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-16T15:06:09Z","updated_at":"2015-07-21T13:53:00Z","closed_at":"2015-07-21T13:53:00Z","body":"I tried this:\r\n\r\n```\r\n$('.video').vide({\r\n    mp4: '/static/dist/videos/my-video.mp4',\r\n    webm: '/static/dist/videos/my-video.webm',\r\n    ogv: '/static/dist/videos/my-video.ogv'\r\n},{\r\n    autoplay: true\r\n});\r\n\r\nvar inst = $('.video').data('vide');\r\nvar vid = inst.getVideoObject();\r\n\r\nvid.destroy();\r\n```\r\n\r\nreturn: `Uncaught TypeError: vid.destroy is not a function`\r\n\r\nand with this:\r\n\r\n```\r\nvar inst = $('.video').data('vide');\r\nvar vid = inst.getVideoObject();\r\n\r\ninst.destroy();\r\n```\r\n\r\nnothing happen. What's wrong with my code?"},"comment":{"url":"https://api.github.com/repos/VodkaBears/Vide/issues/comments/123313878","html_url":"https://github.com/VodkaBears/Vide/issues/105#issuecomment-123313878","issue_url":"https://api.github.com/repos/VodkaBears/Vide/issues/105","id":123313878,"user":{"login":"VodkaBears","id":1700334,"avatar_url":"https://avatars.githubusercontent.com/u/1700334?v=3","gravatar_id":"","url":"https://api.github.com/users/VodkaBears","html_url":"https://github.com/VodkaBears","followers_url":"https://api.github.com/users/VodkaBears/followers","following_url":"https://api.github.com/users/VodkaBears/following{/other_user}","gists_url":"https://api.github.com/users/VodkaBears/gists{/gist_id}","starred_url":"https://api.github.com/users/VodkaBears/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VodkaBears/subscriptions","organizations_url":"https://api.github.com/users/VodkaBears/orgs","repos_url":"https://api.github.com/users/VodkaBears/repos","events_url":"https://api.github.com/users/VodkaBears/events{/privacy}","received_events_url":"https://api.github.com/users/VodkaBears/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T13:53:00Z","updated_at":"2015-07-21T13:53:00Z","body":"See examples. https://github.com/VodkaBears/Vide/blob/master/examples/body-bg.html#L19-L25"}}