I have a tricky problem. I tried to get to the bottom of it for a few days now.
My task is to integrate the VLC plugin in a Google Webtoolkit (GWT) generated website. This is Javascript, generated by the GWT compiler. The plugin code (see below) is generated dynamically, i.e. with an GWT HTML object, which is added to the RootPanel with RootPanel.get().add(htmlObject). I got it running with Firefox, no luck with IE 6 however. I used the example at:
http://people.videolan.org/~damienf/plugin-0.8.6.html
to proof that the VLC plugin works both in IE 6 and Firefox.
Back to my web site: What I experience in IE 6: The VLC plugin loads, audio starts to play, but video does not show in the HTML table cell.
With that, this clearly would belong to a GWT forum, unless I would not have discovered the following: When I use another ActiveX Control - I tested the plugin of another video player - I can get that plugin to work wih IE 6, in the GWT-created web site. I.e. there does not seem to be a problem with integrating ActiveX Controls in GWT.
I tried to further isolate the problem, but this is how far I got. I suspect the problem is somewhere in the relation between the VLC plugin and GWT's RootPanel...
Anybody got an idea what's going on? Thank you for looking at it.
JP
---- VLC plugin code ----
<OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase="http://downloads.videolan.org/pub/video ... /axvlc.cab"
width="320" height="240" id="vlc" events="True">
<param name="Src" value="TestStream.MPG" />
<param name="ShowDisplay" value="True" />
<param name="AutoLoop" value="False" />
<param name="AutoPlay" value="True" />
<EMBED pluginspage="http://www.videolan.org"
type="application/x-vlc-plugin"
progid="VideoLAN.VLCPlugin.2"
width="320"
height="240"
autoplay="yes"
loop="no"
target="TestStream.MPG"
name="vlc"> </EMBED>
</OBJECT>