views:

221

answers:

0

I am trying to put a youtube video inside of a pop dialog with fbml. The dialog works and the video plays the first time. The video does not play after the dialog has been closed.

Any suggestions?

<fb:dialog id="my_dialog">
    <fb:dialog-title>Video</fb:dialog-title>    
    <fb:dialog-content><fb:swf swfsrc='http://www.youtube.com/v/xxxxx&amp;autoplay=1' imgsrc='http://example.com/imagesource.jpg' width='424' height='222' /></fb:dialog-content>
    <fb:dialog-button type="button" value="Close" close_dialog=1 />
</fb:dialog>

<a href="#" clicktoshowdialog="my_dialog"><img src="http://example.com/imagesource.jpg" width="229" height="129" border="0" /> </a>

related questions