pupunzi / jquery.mb.YTPlayer

use a custom yutube player for a video as background on jQuery framework
https://pupunzi.com/mb.components/mb.YTPlayer/demo/demo.html
1.32k stars 429 forks source link

Large resolution video not fully visible #497

Closed uvassal closed 1 year ago

uvassal commented 1 year ago

With example below video, not all parts of video are visible. The overflow parts is hidden. https://www.youtube.com/watch?v=0smM0-ktvf4

pupunzi commented 1 year ago

Hi @uvassal, The plugin default behaviour is similar to the CSS "cover" for background images. That means it adapt and crop the view to best cover all the containment area. If you want to display all the video you can set the "optimizeDisplay" option to false.

uvassal commented 1 year ago

thanks, I didn't understand that.