WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Video can't go bigger than 500px

[Resolved] Video can't go bigger than 500px

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kevin Leary
    Member

    @kevinlearynet

    It looks like this is working now? On my iPad 2 your video appears to be the full width of your content area.

    Daniel J. Lewis
    Participant

    @djosephdesign

    I have this same problem. “max-width:500px” is written as inline CSS to the containing div.

    Even sweetandsound’s site still has this problem as you adjust browser size so the content area is larger than 500px.

    So how do we remove the max-width being written onto the div?

    mrjonnywood
    Member

    @jwoodcreative

    I had the same issue. Quick fix (not really recommended as you shouldn’t have to edit plugin files, but worked for me).

    I commented out line 96:
    $inline_styles = ( isset( $attr['width'] ) ) ? ' style="max-width:' . absint( $attr['width'] ) . 'px;"' : '';

    Without this line, I had no inline max-width applied to the rve-embed-container element.

    This is a very quick fix, I’ve not noticed any problems from removing this line but if I notice anything I’ll update this post.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Video can't go bigger than 500px’ is closed to new replies.