soundcloud oembed breaking out of post box : v3.1

Posted in: Newsmag
Post count: 9544

Hey party people, noticed when I paste a soundcloud element into post box, it breaks the layout on ipad portrait or if you slide in the width of a desktop view to simulate (mid-size breakpoint).

I guess this is loading “SoundCloud Embed Player (api-web)” via oEMBED in WP.

<iframe width="640" height="400" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?visual=true&url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F277848294&show_artwork=true&maxwidth=640&maxheight=960"></iframe>

e.g.,
http://californianewswire.com/new-comedy-cd-by-jackie-fabulous-released-by-uproar-entertainment/

I seem to recall in 1.71 or whatever I added the pesky generic iframe fix …

embed,iframe,object{max-width: 100%;}

And this still fixes it in 3.1

Might be useful to add this to CSS in future versions, at least for mid-size mobile breakpoint. I’ve added it to my stock style.css pre/post minification for our sites, so done and done.

=======
On unrelated note, can you believe I’m going to need a [IV] badge on here pretty soon? 🙂

Post count: 6535

Hi

Thanks @Chris for reporting this. I’ve added it on our todo list and developers will look for a solution in future updates.
Have a nice day!

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.