Skip to main content

Problem:

I am using Clique (latest version). When adding a video into the portfolio section, Vimeo adds a letterbox to my 16:9 videos. It is not the light box’s doing since I notice that the letterbox is within the Vimeo player itself. However, there is not a letterbox on the original Vimeo video. My thought is that it must be a problem with the communication between the WordPress/Theme & Vimeo when pulling an embed code.

Solution:

Find the fancybox code in /js/functions.js.php, and try setting the width / height for the video and have the following code:

var fancybox = {
    init: function() {
    	$j('.fancybox-media').fancybox({
    		margin: 50,
                width : 800,
                height : 450,
                aspectRatio : true,
	        helpers : {
		     media : {}
		}
		});
    }
};

Then it should keep the aspect ratio to the width/height you provide.

Leave a Reply