• Resolved Kevinlikes

    (@kevinlikes)


    Hi Frank.

    Still loving your plugin years and multiple sites later.

    I’m currently working on a page with a uber-widescreen video: https://triggerfish.wpengine.com/khumba/ – not using Lyte at this stage. The dimensions are more like 1237 x 519, so when I use your standard 1280 size, i get black bars top and below. I normally add a custom image over this, so then this has the fit the full-height, including black bars. I much prefer the dimensions of the actual video, as there’s less chance of anyone needing to scroll to see the full pic in their browser.

    Is there a simple way to specify a custom image size and over-ride the 1280 setting?

    Let me know. Thanks so much.

    https://www.ads-software.com/plugins/wp-youtube-lyte/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Frank Goossens

    (@futtta)

    guess you could change the CSS for the background of the .pL class, overriding the default one;

    .lyMe iframe, .lyte iframe,.lyte .pL{
    	position:absolute;
    	top:0;
    	left:0;
    	width:100%;
    	height:100%!important;
    	background:no-repeat scroll center #000;
    	background-size:cover;
    	cursor:pointer
    }

    (I would only override for .lyte .pL, not for the other two)

    hope this helps,
    frank

    Thread Starter Kevinlikes

    (@kevinlikes)

    Thanks Frank. Much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom video sizes’ is closed to new replies.