WordPress.org

Ready to get started?Download WordPress

Forums

oEmbed video embeds (height and width properties) (1 post)

  1. mark-fublo
    Member
    Posted 3 years ago #

    Hello,

    I was wondering if it's possible to use oEmbed that is built into the core of WP to display video embeds but somehow remove the height and width attritbutes in the output? I know the functions exist in media.php but I don't want to mess with the core.

    The reason I ask is that we're developing a theme for a client which using a fluid grid framework and any image/video with specified height and width attributes means they don't scale with the grid in smaller viewports - or there may be a way to make this work?

    Any help would be much appreciated

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic