WP YouTube Lyte
[resolved] Change Video Dimension (3 posts)

  1. diver66
    Posted 4 years ago #


    I want to insert videos into my sidebar, I have to have a with of 400px. Can I maybe add the size to the shortcode ? If yes, how ? thanks


  2. Frank Goossens
    Plugin Author

    Posted 4 years ago #

    hi diver66;
    you'll have to do 2 things:

    1. open up player_sizes.inc.php and at the bottom add your new size:


    2. open up lyte/controls-420.png your favorite image editor, resize it to 400 pixels width and save it as controls-400.png and upload it to your webserver

    and that should do it.

    kind regards,

  3. Daniel Koskinen
    Posted 4 years ago #

    Hi, a suggestion regarding custom sizes, would it be possible for you to add filters/actions to your sizes template and a filter to include a custom image from an arbitrary directory. That would make it easier to update your plugin in the future without overwriting changes.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP YouTube Lyte
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.