Ready to get started?Download WordPress


Jetpack by WordPress.com
[resolved] Photon removes attributes (2 posts)

  1. ecarmi
    Posted 1 year 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.


  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic