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.

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

  1. sweetandsound
    Posted 3 years 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!


  2. Kevin Leary
    Plugin Author

    Posted 3 years 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
    Posted 3 years 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
    Posted 2 years 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

  • Responsive Video Embeds
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.