pupunzi / jquery.mb.vimeo_player

A jQuery plug-in to play any Vimeo video as background of your page
https://pupunzi.com/mb.components/mb.vimeo_player/demo/index.html
59 stars 30 forks source link

Abundance and videos being cropped. #19

Closed silverark closed 6 years ago

silverark commented 6 years ago

The following line is causing me issues

var abundance = vimeo_player.isPlayer ? 0 : el.outerHeight() * .15;

It is adding the padding every time which is making it crop the outside edge of my videos. Is there a reason for this as for me, the video fits perfectly when it's up tot he edge. I set abundance = 0 manually in the JS for my background videos to get them to fit in properly.

Not sure if this is a bug or not? Or if there is some other way to control this?

pupunzi commented 6 years ago

Hi, That is not a bug. Is used to hide the vimeo logotype on the bottom. I'll introduce an option for that.