View Full Version : Videobox help please

12-01-2009, 10:36 PM
I have Videobox software (same as lightbox only for showing YouTube videos) linked from my website.

Thing is that when I show a video on my website it only shows at a size of 250px from left to right. This rather small

I know that YouTube videos vary in size.
What I want is for videobox to automatically resize to whatever size the YouTube video is.

Does anyone know what I can do to create this.

This is the code as it is:

// When Lightbox starts it will resize itself from 250 by 250 to the current image dimension.
// If animations are turned off, it will be hidden as to prevent a flicker of a
// white 250 by 250 box.
var size = (LightboxOptions.animate ? 250 : 1) + 'px';

It states that is should automatically resize but it doesn't

All Help much appreciated