if(obj.value==" Play "){
obj.value="Pause";
JPEGViewer.SetStill(0);
}else{
obj.value=" Play ";
JPEGViewer.SetStill(1);
}
}
</SCRIPT>
<BODY
<OBJECT ID="JPEGViewer" WIDTH = 641 HEIGHT= 481
<PARAM NAME="HttpPort" VALUE="80">
<PARAM NAME="DispWidth" VALUE="640">
<PARAM NAME="DispHeight" VALUE="480">
<PARAM NAME="Version2" VALUE="1"> </OBJECT>
<form name="myForm"> <table><tr><td>
<INPUT TYPE="BUTTON" NAME="still_btn" VALUE="Pause" onclick="still_click(this)"></td><td> </tr></table>
</form></BODY></HTML>
(4) Seamless Switching
Sample code of VisualBasic for switching to 192.168.0.200. Sleep over one frame is required between methods.
VNviewcnt1.Stop
Sleep 100
VNviewcnt1.IP = "192.168.0.200"
Sleep 100
102