{"action":"opened","issue":{"url":"https://api.github.com/repos/dejan/auto_html/issues/148","labels_url":"https://api.github.com/repos/dejan/auto_html/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/dejan/auto_html/issues/148/comments","events_url":"https://api.github.com/repos/dejan/auto_html/issues/148/events","html_url":"https://github.com/dejan/auto_html/issues/148","id":81562554,"number":148,"title":"Filters for any type of video","user":{"login":"napster3000","id":539132,"avatar_url":"https://avatars.githubusercontent.com/u/539132?v=3","gravatar_id":"","url":"https://api.github.com/users/napster3000","html_url":"https://github.com/napster3000","followers_url":"https://api.github.com/users/napster3000/followers","following_url":"https://api.github.com/users/napster3000/following{/other_user}","gists_url":"https://api.github.com/users/napster3000/gists{/gist_id}","starred_url":"https://api.github.com/users/napster3000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/napster3000/subscriptions","organizations_url":"https://api.github.com/users/napster3000/orgs","repos_url":"https://api.github.com/users/napster3000/repos","events_url":"https://api.github.com/users/napster3000/events{/privacy}","received_events_url":"https://api.github.com/users/napster3000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-27T18:18:06Z","updated_at":"2015-05-27T18:18:06Z","closed_at":null,"body":"This filter works only for youtube\r\n\r\nclass Comment < ActiveRecord::Base\r\n  auto_html_for :body do\r\n    html_escape\r\n    image\r\n    youtube(:width => 400, :height => 250, :autoplay => true)\r\n    link :target => \"_blank\", :rel => \"nofollow\"\r\n    simple_format\r\n  end\r\nend\r\n\r\n\r\nI want something that works for anything. Any Video, Images, google maps anything. How to do it?"}}