The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. mark-fublo
    Posted 5 years ago #


    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


Topic Closed

This topic has been closed to new replies.

About this Topic