WordPress.org

Ready to get started?Download WordPress

Forums

Responsive Video Embeds
[resolved] Way to specify different reference width of video? (4 posts)

  1. Cameron
    Member
    Posted 9 months ago #

    If I attempt to use css to adjust width of the .rve div wrapping the video (for example to width=75%) it seems that this plugin does not pick up on this. The width does shrink, but the height/width aspect ratio is not maintained (which to be fair, is a problem I've experienced independent of this plugin).

    Is there a way for me to control the relative with of the video via the div.rve element without having to set a relative width on the parent HTML element?

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

  2. Kevin Leary
    Member
    Plugin Author

    Posted 8 months ago #

    The latest release, version 1.2.2, will resize videos with JavaScript on window load and resize events, which should respect the CSS width you set on those .rve div's. If you upgrade, let me know how it works.

  3. BartJones
    Member
    Posted 7 months ago #

    My video needs to be 990 px wide. Is there a way to make that the reference width when the page is loading. Right now when loading it is about 500px and then jumps to the right width.

  4. Cameron
    Member
    Posted 7 months ago #

    Thanks Kevin. Before you posted, I figured out a way to work around my issue by controlling the size of the parent element, which ended up working out better for me in the long run.

    Cheers!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.