Support » Plugin: Jetpack by WordPress.com » Photon removes attributes
4 years, 1 month ago
I was noticing a weird bug where youtube <iframe> embeds seemed smaller than they should be. I’ve narrowed it down to Photon. With Photon disabled the corresponding html is:
<iframe width=”640″ height=”360″ src=”http://www.youtube.com/embed/wx9qSHc3Jlg” frameborder=”0″ allowfullscreen></iframe>
When I enable Photon this becomes:
<iframe src=”http://www.youtube.com/embed/wx9qSHc3Jlg” frameborder=”0″ allowfullscreen></iframe>
Which obviously messes up the size of the iframe.
I’m not sure if this was fixed here: http://wordpress.org/support/topic/photon-is-stripping-out-video-embed-code-in-211?replies=14
But this sure is a problem. If more info is needed, let me know.
Thanks for the report.
We have indeed fixed the issue, but the fix wasn’t released yet. It will be available with the next Jetpack release.