{"action":"created","issue":{"url":"https://api.github.com/repos/torchbox/wagtail/issues/2122","labels_url":"https://api.github.com/repos/torchbox/wagtail/issues/2122/labels{/name}","comments_url":"https://api.github.com/repos/torchbox/wagtail/issues/2122/comments","events_url":"https://api.github.com/repos/torchbox/wagtail/issues/2122/events","html_url":"https://github.com/torchbox/wagtail/issues/2122","id":127260358,"number":2122,"title":"Embed Soundcloud: In HTML is wrong padding attribute","user":{"login":"netAction","id":1829847,"avatar_url":"https://avatars.githubusercontent.com/u/1829847?v=3","gravatar_id":"","url":"https://api.github.com/users/netAction","html_url":"https://github.com/netAction","followers_url":"https://api.github.com/users/netAction/followers","following_url":"https://api.github.com/users/netAction/following{/other_user}","gists_url":"https://api.github.com/users/netAction/gists{/gist_id}","starred_url":"https://api.github.com/users/netAction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netAction/subscriptions","organizations_url":"https://api.github.com/users/netAction/orgs","repos_url":"https://api.github.com/users/netAction/repos","events_url":"https://api.github.com/users/netAction/events{/privacy}","received_events_url":"https://api.github.com/users/netAction/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-18T16:20:01Z","updated_at":"2016-01-18T16:29:36Z","closed_at":null,"body":"After embedding a Soundcloud source in richtext editor it renders like this:\r\n\r\n    <div style=\"padding-bottom: 0;\" class=\"responsive-object\">\r\n      <iframe width=\"100%\" height=\"400\" scrolling=\"no\" frameborder=\"no\" src=\"https://w.soundcloud.com/player/?visual=true&url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F235591558&show_artwork=true\"></iframe>\r\n    </div>\r\n\r\nThe Soundcloud IFRAME is invisible because of unset height in the wrapper .responsive-object. The *padding-bottom* property should be set to *400px* instead of *0*.\r\n\r\nThis is the CSS used:\r\n\r\n    .responsive-object {\r\n      position:relative;\r\n    }\r\n\r\n    .responsive-object iframe, .responsive-object object, .responsive-object embed {\r\n      position:absolute;\r\n      top:0;\r\n      left:0;\r\n      width:100%;\r\n      height:100%;\r\n    }\r\n"},"comment":{"url":"https://api.github.com/repos/torchbox/wagtail/issues/comments/172577625","html_url":"https://github.com/torchbox/wagtail/issues/2122#issuecomment-172577625","issue_url":"https://api.github.com/repos/torchbox/wagtail/issues/2122","id":172577625,"user":{"login":"kaedroho","id":1093808,"avatar_url":"https://avatars.githubusercontent.com/u/1093808?v=3","gravatar_id":"","url":"https://api.github.com/users/kaedroho","html_url":"https://github.com/kaedroho","followers_url":"https://api.github.com/users/kaedroho/followers","following_url":"https://api.github.com/users/kaedroho/following{/other_user}","gists_url":"https://api.github.com/users/kaedroho/gists{/gist_id}","starred_url":"https://api.github.com/users/kaedroho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaedroho/subscriptions","organizations_url":"https://api.github.com/users/kaedroho/orgs","repos_url":"https://api.github.com/users/kaedroho/repos","events_url":"https://api.github.com/users/kaedroho/events{/privacy}","received_events_url":"https://api.github.com/users/kaedroho/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T16:29:36Z","updated_at":"2016-01-18T16:29:36Z","body":"Related: #1495 "}}