Wax
08-02-2007, 12:56 AM
I’ve tried for some days now to crack this and have no idea if it is actually possible.:confused: The pupose is to show a larger flash video file with more detail description in a layover or DHTML popup window.
I’m using the DHTML Window widget (love it) to embed the SWFObject. I tried inline content and the hidden div on the page without success.
The SWFObject works fine outside the dhtml window. The DHTML Window also works for any other HTML. I combed the dhtmlwindow.js and believe the innerHTML muddles the JavaScript content of the hidden div. I can’t use iframes as this code is generated dynamically for hundreds of pages of video objects.
I posted my example here http://sweettraders.com/dev/DHTMLWindow.htm. Click 630-21 and you’ll notice the flash video file does not play in the DHTML window.
Any idea will be helpful.
I’m using the DHTML Window widget (love it) to embed the SWFObject. I tried inline content and the hidden div on the page without success.
The SWFObject works fine outside the dhtml window. The DHTML Window also works for any other HTML. I combed the dhtmlwindow.js and believe the innerHTML muddles the JavaScript content of the hidden div. I can’t use iframes as this code is generated dynamically for hundreds of pages of video objects.
I posted my example here http://sweettraders.com/dev/DHTMLWindow.htm. Click 630-21 and you’ll notice the flash video file does not play in the DHTML window.
Any idea will be helpful.