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].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.