Title: Video full width
Last modified: February 24, 2019

---

# Video full width

 *  [ludoviclesieur](https://wordpress.org/support/users/ludoviclesieur/)
 * (@ludoviclesieur)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/video-full-width/)
 * 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](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/video-full-width/#post-11242287)
 * the easiest solution would be to edit [player_sizes.inc.php](https://github.com/futtta/wp-youtube-lyte/blob/master/player_sizes.inc.php)
   adding e.g.
 *     ```
       $pSize[9]['a']=true;
       $pSize[9]['w']=2560;
       $pSize[9]['h']=1440;
       $pSize[9]['t']=__("Double-maxi 16:9 player","wp-youtube-lyte");
       $pSize[9]['f']="169";
       ```
   
 * and changing;
    `$pSizeOrder['169']=array(8,1,3,5,7);` into `$pSizeOrder['169']
   =array(8,1,3,5,7,9);`
 * hope this helps,
    frank
 *  [imtino](https://wordpress.org/support/users/imtino/)
 * (@imtino)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/video-full-width/#post-11394175)
 * 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](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/video-full-width/#post-11394384)
 * 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,
    frank
 *  [imtino](https://wordpress.org/support/users/imtino/)
 * (@imtino)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/video-full-width/#post-11394699)
 * 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.

 * ![](https://ps.w.org/wp-youtube-lyte/assets/icon-128x128.png?rev=1836005)
 * [WP YouTube Lyte](https://wordpress.org/plugins/wp-youtube-lyte/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-youtube-lyte/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-youtube-lyte/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-youtube-lyte/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-youtube-lyte/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-youtube-lyte/reviews/)

## Tags

 * [width](https://wordpress.org/support/topic-tag/width/)

 * 4 replies
 * 3 participants
 * Last reply from: [imtino](https://wordpress.org/support/users/imtino/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/video-full-width/#post-11394699)
 * Status: not resolved