PDA

View Full Version : lightbox + flash



kdolle
07-05-2008, 06:20 PM
I am trying to use a lightbox javascript to display flash video. What is the best one to use, and how do you do it?

I have tried creating a page with the player embedded, then linking to that html file in the lightbox....and I have also tried linking directly to the flv file. None of this has worked.

Of course I have been able to successfully display images in a lightbox, so I know I have the coding right, but what has to be done to play a video in a lightbox?

Please help!!!

PS- I am using Dreamweaver CS3 on a mac to build my site.

jscheuer1
07-05-2008, 08:10 PM
I'd try Thickbox (the author believes it can support Flash, but says it hasn't been tested):

http://jquery.com/demo/thickbox/

using its iframe mode, with the flash on a separate page that gets loaded into the iframe, or my own - mybox:

http://home.comcast.net/~jscheuer1/side/mybox/

Which has a Flash video as part of its demo page. I'm not sure if there are any others that can support Flash or not.

tinny
01-24-2009, 09:48 AM
For displaying flash content inside Lightbox, you can try

FlashInLightBox.js class from: http://code.google.com/p/flashinlightbox/

jscheuer1
01-24-2009, 06:56 PM
For displaying flash content inside Lightbox, you can try

FlashInLightBox.js class from: http://code.google.com/p/flashinlightbox/

That looks pretty good, but must be used with version 2.04, also works with my Lightbox 2.04a mod:

http://www.dynamicdrive.com/forums/showthread.php?p=163470#post163470

Unfortunately, without modification, one cannot pass parameters, attributes or flashvars to the Flash applet. And it appears not to support lightbox groups.