Thats how I make to integrate flowplayer inside a fancybox modal window.

This following code shows a hidden div which will include the video. When clicking the “Play video” link it will show a fancybox modal window with the flowplayer video inside.

When closing the fancybox it will unload the video player and hide the div.