Open GoogleCodeExporter opened 8 years ago
Just comment out all of this if statement on line 92:
if (width / options.ratio < height) { // if new video height < window height
(gap underneath)
pWidth = Math.ceil(height * options.ratio); // get new player width
$tubularPlayer.width(pWidth).height(height).css({left: (width - pWidth) / 2, top: 0}); // player width is greater, offset left; reset top
} else { // new video width < window width (gap to right)
pHeight = Math.ceil(width / options.ratio); // get new player height
$tubularPlayer.width(width).height(pHeight).css({left: 0, top: (height - pHeight) / 2}); // player height is greater, offset top; reset left
}
Original comment by DCMFra...@gmail.com
on 23 Jul 2015 at 1:39
Original issue reported on code.google.com by
samjayhe...@gmail.com
on 3 Apr 2014 at 8:17