views:

22

answers:

0

Hi,

I'm trying to call an external script from within a lightbox (prettyPhoto). Basically the script calls a video from a streaming server.

I'm able to see the lightbox appear, the script begins execution and then immediately causes the page to crash and hang.

Is there a lightbox able to accomplish this? My code looks like this:

<a href="#inline-1" rel="prettyPhoto" >Click Here</a>
<div id="inline-1" class="hide">
    <p>This is inline content opened in prettyPhoto.</p>
    <p><script type="text/javascript" src="http://foo.com/example-script.js"&gt;&lt;/script&gt;&lt;/p&gt;&lt;/div&gt;
</div>