jQuery Dialog and ActiveX on IE8
Hi,
I'm new to jQuery and I'm facing a problem with an ActiveX component inside a jQuery dialog. Basically, the situation is the following:
I have a media controller ActiveX component used to display video from a network camera. It works fine in pure HTML.
I'm trying to use it in a jQuery dialog (this dialog is draggable, not modal or resizable and has bgiframe set to true). The code idea is here....
- $("body").append('<div id="VideoPlayer"><object id="..." classid="..." codebase="..."><params...></object></div>');
- $("div#VideoPlayer").dialog({
- autoOpen: false;
- bgiframe: true;
- ...
- open: function(event, ui) { ... },
- close: function(event, ui) { ... }
- });
This way, I'm able to see the ActiveX component and it's controls but no video. In the place of the video I only see a static image with the current screen area.
I'm not sure if this is related to the fact that I'm adding this code dinamically to the page (after the page loading is finished). If this is case, does anyone know if there is an alternative or workaround?
Also, does any one know if this could be a jQuery/IE limitation or just an error from my part?
Please, let me know if you need more details, I can see what I can get. 
Thanks a lot,
Jean