WordPress.org

Ready to get started?Download WordPress

Forums

Responsive Video Embeds
[resolved] Video can't go bigger than 500px (4 posts)

  1. sweetandsound
    Member
    Posted 1 year ago #

    Hey there

    I'm using your plugin for a site I'm working on, but for the "full width" content the video should be 660px but only goes to 500px, but resizes fine fot the other responsive sizes...

    Here's an example - http://ntslive.co.uk/noemi/ust-jam-51-darq-e-freaker-peigh/

    I have no idea why it won't resize properly, anyone know what it might be??

    Thanks in advance!

    http://wordpress.org/extend/plugins/responsive-video-embeds/

  2. Kevin Leary
    Member
    Plugin Author

    Posted 1 year ago #

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

  3. Daniel J. Lewis
    Member
    Posted 11 months ago #

    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?

  4. mrjonnywood
    Member
    Posted 9 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.