Adds a WebCast applet to a page

Parameters


Usage:

[{WebCast id="myCast"}]
 


renderer.sjs

id = extension.getAttributeValueByName( "id" ); if(id==null) { id = pageName; } width = extension.getAttributeValueByName( "width" ); if(width==null) { width = 600; } height = extension.getAttributeValueByName( "height" ); if(height==null) { height = 400; } data = "<DIV id=\"webCast\"><table bgcolor=\"#000000\" width=\\\""+width+"\\\" height=\\\""+height+"\\\"><tr><td>&nbsp;</td></tr></table></DIV><script> includeInitFunction( \"showWebCast();\" );\n"; data += "function showWebCast() {\n"; data += "data = \"<applet id=\\\""+id+"\\\" name=\\\""+id+"\\\" code=\\\"org.one.stone.soup.wiki.multicaster.MulticasterApplet\\\" width=\\\""+width+"\\\" height=\\\""+height+"\\\" archive=\\\"/OpenForum/Multicaster/multicaster-applet.jar\\\">\";\n"; data += "data += \"<param name=\\\"id\\\" value=\\\""+id+"\\\"></param>\";\n"; data += "data += \"</applet>\";\n"; data += "document.getElementById(\"webCast\").innerHTML=data;\n"; data+= "}</script>\n" return data;