Hi, I was faced same problem earlier, it got solved. Actually in IE there may be problem to set width and height, it is setting 0,0. So you can verify using developer tools to see width and height. What i was done is at the time of loading itself i am setting width and height using javascript method through JSNI method. You can get correct result.
Regards, Rajendra On Tue, Oct 12, 2010 at 11:20 PM, Suma Rao <[email protected]> wrote: > Hi, > > I am trying to embed VLC plugin to show a live streaming video from a > IP camera in a GWT web application. I am generating all html > dynamically from code. I have a DockLayoutPanel and I would like to > show the streaming video on the west side constantly. Below is a > snippet of my code to add the video streaming frame to the the > dockpanel. The video appears ok in Firefox but not in IE. I did some > quick search and this link - http://wiki.videolan.org/GWT provided > some additional thoughts but I have been unable to get this to work in > IE. > > I am using GWT 2.04. Any thoughts/suggestions greatly appreciated: > >> > { > HTML htmlNewHtml_2 = new HTML(createVideoFrame(), true); > dockLayoutPanel.addWest(htmlNewHtml_2, 45.0); > } > private String createVideoFrame() { > StringBuffer buffer = new StringBuffer(); > buffer.append("<div id=\"vlccontent\">"); > buffer.append("<script type=\"text/javascript\">\n"); > buffer.append("var myvlc = new VLCObject(\"mymovie\", > \"800\", > \"600\", \"0.8.6\");\n"); > buffer.append("myvlc.addParam(\"MRL\",\"http://<url of my > IP camera> > \");\n"); > buffer.append("myvlc.write(\"vlccontent\");\n"); > buffer.append("</script>\n"); > buffer.append("</div>"); > return (buffer.toString()); > } > >> > > Thanks! > Suma. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
