PDA

View Full Version : Need some help with swf and flv linking



anangbhai
July 6th, 2007, 03:03 AM
Hi all,

I'm running this plugin called WP-Greybox (http://grupenet.com/2007/06/11/wp-greybox/) on my website. You can see an example here. (http://www.anangbhai.com/vincent-price-explains-cricket/)

The very awesome benefit of this plugin is that I merely have to type in an href link to an swf or youtube link or metacafe link like this


<a href="http://youtube.com/v/kIbSWj0AtjM" rel="gb_page_center[640, 480]">example</a>

and it will display the video in a lightbox style window.

My only problem is that I can link to an swf but not to an flv file. I don't want to create a single swf for all my flv files. I need a way to link my flv files dynamically through an href link much like the example using youtube above.

I tried looking up swfobject but I'm still confused as to how to create a dynamic link that leads to a dynamic swf that will lead to an flv file.

I'm using jeroen's flv player.

Thanks.