5-12
1
glimps.htm
<html>
<head>
<script language="JavaScript">
<!--
function clicked(btn) {
url = btn.name
window.open(url,"LiveApplet","width=490,height=400")
}
// -->
</script>
<title>Glimpse</title>
</head>
<body>
<table>
<form name="form">
<tr><td><center>
<applet codebase="http://<_W_E_B_S_E_R_V_E_R_>/-wvdoc-01-/Glimpse/"
code="Glimpse.class" archive="Glimpse.zip"
width=160 height=120>
<param name=cabbase value="Glimpse.cab">
<param name=url value="http://<_W_E_B_S_E_R_V_E_R_>/">
</applet>
</center></td></tr>
<tr><td><center>
<input type="Button" name="popup.htm" value="click me"
onClick="clicked(this)">
</center></td></tr>
</form>
</table>
</body>
</html>
2
popup.htm
<html>
<head>
<title>LiveApplet</title>
</head>
<body>
<center>
<applet codebase="http://<_W_E_B_S_E_R_V_E_R_>/-wvdoc-01-/LiveApplet/"
code="LiveApplet.class" archive="LiveApplet.zip"
width=450 height=380>
<param name=cabbase
value="LiveApplet.cab">
<param name=url
value="http://<_W_E_B_S_E_R_V_E_R_>/">
<param name=controller_style value="no_pantilt">
</applet>
</center>
</body>
</html>
Using the Viewer for Java to Distribute Videos