WordPress.org

Ready to get started?Download WordPress

Forums

Youtube Channel Gallery
[resolved] video display width resizing with window (7 posts)

  1. rblessons
    Member
    Posted 1 year ago #

    Hi,
    Great plugin! With the new update, the video display now
    resizes when the user changes the main window size. The
    video is in a wordpress panel which also resizes, so I assume
    the video is now staying at a fixed % of panel instead of
    fixed size. Here is my shortcode:
    [Youtube_Channel_Gallery feed="playlist" user="PLCEZIG6159Kc084vgow4fWPM8vI3UIhbI" videowidth="640" ratio="16x9" theme="light" color="white" autoplay="0" rel="0" showinfo="0" maxitems="10" thumbwidth="170" thumbratio="16x9" thumbcolumns="1" title="1" description="1" thumbnail_alignment="left" descriptionwordsnumber="22"]

    I would prefer if I could keep the embedded window at a 640 width.
    It looks pretty horrible if you are on a large monitor and go fullscreen.

    Here is live website url:
    http://racquetball-lessons.com/2013/05/08/usa-racquetball-training-video-series/

    This can probably be fixed with some minor css changes, but I'm not sure where to look.

    thanks for providing a great plugin!

    http://wordpress.org/extend/plugins/youtube-channel-gallery/

  2. PoseLab
    Member
    Plugin Author

    Posted 1 year ago #

    Hi rblessons

    You can adjust the width of the videoplayer adding the following code to style.css of your theme. Perhaps, I should have kept the field Player width, but to be able to define the max width of the player.

    .ytcplayer-wrapper {
    max-width: 640px;
    }

  3. rblessons
    Member
    Posted 1 year ago #

    Thanks, that works!

  4. rblessons
    Member
    Posted 1 year ago #

    Ok, now using your newest 1.81 version. Now when a window
    is resized, the height of the videoplayer keeps enlarging
    and does not keep 16x9 ratio. I tried using

    .ytcplayer-wrapper {
    max-width: 640px;
    max-height: 360px;
    }

    but had no effect. Any suggestions?

    thanks,
    David

  5. rblessons
    Member
    Posted 1 year ago #

    Sorry, didn't post live page with example of problem:

    Here is live website url:
    http://racquetball-lessons.com/2013/05/08/usa-racquetball-training-video-series/

    Shortcode is same as previously posted.

    thanks,
    David

  6. PoseLab
    Member
    Plugin Author

    Posted 1 year ago #

    Hi rblessons

    Update to 1.8.2 and change the previous code for:

    .ytcplayer-fixwidthwrapper {
    max-width: 640px;
    }

  7. rblessons
    Member
    Posted 1 year ago #

    That works too! Thanks for your help.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.