Sudden OEmbed problem
-
I’m not sure when this happened, since I just noticed it, but I’m assuming it arrived with either WordPress 4.4, 4.4.1, or 4.4.2.
Youtube OEmbeds used to “just work” with something like this on a single line:
https://youtu.be/4n3g5lUgkWk?html5=1&autoplay=0&rel=0
The video was responsive and sized appropriately for the platform/view port.
Now suddenly the same OEmbed code results in a tiny, postage stamp-sized video. I’ve noticed the following crap when I view source on a page with a Youtube OEmbed:
<iframe width="200" height="113" src="data:image/gif;base64,R0lGODdhAQABAPAAAP///wAAACwAAAAAAQABAEACAkQBADs=" data-lazy-src="https://www.youtube.com/embed/Jo4zMDoTxiw?feature=oembed" frameborder="0" allowfullscreen></iframe>
Obviously, the OEmbed Youtube video is no longer responsive and looks like postage-stamp crap on every device.
When did this happen? Has anyone else noticed this behavior? Where is the iframe width and height values being brought in from?
Please advise.
Thanks.
- The topic ‘Sudden OEmbed problem’ is closed to new replies.