Support » Plugin: Fluid Video Embeds » HTML Validation Issues

  • Hello,
    It’s come to my attention that some of the code used in making an iframe responsive is not valid HTML… What are your thoughts on these errors below, which I believe are caused by HTML generated by this plugin?

    Invalid html: Bad value “100%” for attribute “width” on element “iframe”: Expected a digit but saw “%” instead. (Line 349)
    Invalid html: Bad value “100%” for attribute “height” on element “iframe”: Expected a digit but saw “%” instead. (Line 349)
    Invalid html: Attribute “webkitallowfullscreen” not allowed on element “iframe” at this point. (Line 349)
    Invalid html: Attribute “mozallowfullscreen” not allowed on element “iframe” at this point. (Line 349)
    Invalid html: The “frameborder” attribute on the “iframe” element is obsolete. Use CSS instead. (Line 349)

    I want my videos to be responsive, but ideally I’d like them to use valid code, too. I’ve seen some people suggesting putting the width=100% in a style attribute…

    Thanks.

    https://wordpress.org/plugins/fluid-video-embeds/

  • The topic ‘HTML Validation Issues’ is closed to new replies.