As an oEmbed provider, how can I vend a left-floating embed?
-
I’m posting this on behalf of the Kindle Instant Previews team at Amazon.
We’re setting up an oEmbed provider to allow www.ads-software.com and WordPress.com users to embed book previews, just as they would embed a Youtube video. This is what our oEmbed response looks like.
Please note that the embed is 336x550px – in other words, it’s vertical. Our branding guidelines require us to enforce a vertical aspect ratio and float the embed to the left of the content – see example.
However, WordPress refuses to display our embed this way. Instead, it insists on wrapping it into a paragraph with clearfix – see video.
In case you don’t feel like watching the video: this is the expected output:
<iframe ...></iframe> <p>Lorem et ipsum dolor sit amet</p>
This is the actual output:
<p><iframe ...></iframe></p> <p>Lorem et ipsum dolor sit amet</p>
As an oEmbed provider, is there anything we can do to get the result we want?
- The topic ‘As an oEmbed provider, how can I vend a left-floating embed?’ is closed to new replies.