HTML

Questions? Suggestions? Need help? Talk about anything related to Yawcam...
Post Reply
Guest

HTML

Post by Guest »

Where can I find the HTML code to put into an existing web page to stream video? I'm using FrontPage if that matters. Thanks
malun
Site Admin
Posts: 1590
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

I would suggest you to use a FRAME or an IFRAME to include the webcam via Yawcam's own webserver.

You can also use the signed applet, but in this case the viewer will have to answer "yes" on a security question that pops up. The code for the signed applet (and the applet itself) can be found in the example in your Yawcam stream directory. ( i.e. c:\program files\yawcam\stream\signed_example.html )

It looks like this:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Yawcam</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<div align="center">
  <p><strong><font size="5" face="Verdana, Arial, Helvetica, sans-serif"><font size="5" face="Verdana, Arial, Helvetica, sans-serif">My webcam!</font></font></strong> </p>
  <p>
    <APPLET CODE=YawApplet.class WIDTH="320" HEIGHT="240" archive="YawApplet_s.jar">
      <param name="Host" value="_Computer_where_you_run_yawcam_">
      <param name="Port" value="8081">
    </APPLET>
  </p>
  <p><a href="http://www.yawcam.com" target="_blank"> <font size="2" face="Verdana, Arial, Helvetica, sans-serif">www.yawcam.com</font></a></p>
</div>
</body>
</html>
More information can be found in the help: http://www.yawcam.com/help_set.php#stream

Good Luck!
/malun
Post Reply