georgie_b
09-05-2007, 09:27 PM
1) Script Title: DHTML Window widget
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/
3) Describe problem: Apologies for asking what I suspect is a daft newbie question! :confused:
I'm trying to use one of the window widget methods to open a window in the middle of a page, which then has a embedded flash video clip, which I'm using http://www.jeroenwijering.com/'s very fine player for.
I can get the window to open up fine with the player in, all fine. But, I get the dreaded 'for your security microsoft' information bar in IE. I'm assuming this is because I hadn't embedded the player properly. So I took a recommendation and looked at http://blog.deconcept.com/swfobject/ which has a great embed script.
The problem is that I'm not too sure how to integrate this into the Window 1 (iframe content) example of the DHTML Window widget. How to I put
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("so_tester.swf", "sotester", "300", "300", "9", "#FF6600");
so.addVariable("flashVarText", "this is passed in via FlashVars for example only"); // this line is optional, but this example uses the variable and displays this text inside the flash movie
so.write("flashcontent");
// ]]>
</script>
into the open window code so that it embeds the swf properly please? Is there a particular version of the window I should be using - like iframe rather than ajax or hidden div content?
Any help very gratefully received ! :)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/
3) Describe problem: Apologies for asking what I suspect is a daft newbie question! :confused:
I'm trying to use one of the window widget methods to open a window in the middle of a page, which then has a embedded flash video clip, which I'm using http://www.jeroenwijering.com/'s very fine player for.
I can get the window to open up fine with the player in, all fine. But, I get the dreaded 'for your security microsoft' information bar in IE. I'm assuming this is because I hadn't embedded the player properly. So I took a recommendation and looked at http://blog.deconcept.com/swfobject/ which has a great embed script.
The problem is that I'm not too sure how to integrate this into the Window 1 (iframe content) example of the DHTML Window widget. How to I put
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("so_tester.swf", "sotester", "300", "300", "9", "#FF6600");
so.addVariable("flashVarText", "this is passed in via FlashVars for example only"); // this line is optional, but this example uses the variable and displays this text inside the flash movie
so.write("flashcontent");
// ]]>
</script>
into the open window code so that it embeds the swf properly please? Is there a particular version of the window I should be using - like iframe rather than ajax or hidden div content?
Any help very gratefully received ! :)