Support » Plugin: WP YouTube Lyte » Video full width

  • ludoviclesieur


    Nice WP YouTube Lyte plugin !
    But i have an issue by displaying a youtube video in full width (or at default, at 1280×1024).
    The plugin applies a maximum width of 1280px, according to plugin configuration. I found no way to increase this, whathever the method among direct link, iframe, shortcode.

    Note I am using divi theme with builder.

    Thank you in advance for your help !

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Optimizing Matters


    the easiest solution would be to edit adding e.g.

    $pSize[9]['t']=__("Double-maxi 16:9 player","wp-youtube-lyte");

    and changing;

    hope this helps,

    When we made these changes what will happen when there’s an update?

    Can you have a feature where we can input our own size? The width:640px is not responsive on my theme. I just want to use only max-width:100% instead.

    Plugin Author Optimizing Matters


    Changes to files in a plugin folder get overwritten when updating imtino.

    I might add a wordpress filter to allow for the $pSize and $wSize arrays to be altered in a future version without having to change the plugin itself.

    Regarding your issue; maybe try addressing this with CSS like so;

    .lyte-wrapper{width:100% !important;}

    hope this helps,

    That’s what I was doing in the past.

    .lyte-wrapper{max-width:100% !important;}
    .lL{max-width:100% !important;}

    Just to saved two short lines of css 🙂 I’ve decided to comment the width out from wp-youtube-lyte.php. I guess I will have to deal with it each time when there’s an update.

    Thank you again for an awesome plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Video full width’ is closed to new replies.