Display FTP webcam and streaming Webcam on one HTML Page

Questions? Suggestions? Need help? Talk about anything related to Yawcam...
Post Reply
Big Max Leo
Posts: 16
Joined: Sat Jan 29, 2005 7:11 pm

Display FTP webcam and streaming Webcam on one HTML Page

Post by Big Max Leo »

How do I code to have both images (FTP + Streaming) on one single HTML page ? I have seen some users do it ? thank you
:?: beginner
malun
Site Admin
Posts: 1593
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

What you will have to do is to set up yawcam to upload images via ftp to your server. Let's say the name of the image is out.jpg
Now, you will have to create a html page on your homepage area.
The html page shall contain the image like this:

Code: Select all

<img src="out.jpg">
and the code for the streaming applet:

Code: Select all

<APPLET CODE=YawApplet.class CODEBASE="_Address_to_computer_where_you_run_Yawcam_:8081" WIDTH="320" HEIGHT="240">
      <param name="Host" value="_Address_to_computer_where_you_run_Yawcam_">
      <param name="Port" value="8081">
</APPLET>
(If you use 8081 as your port number, and the size 320x240.)
You also have to change the "_Address_to_computer_where_you_run_Yawcam_" into a real value.

Now, save the file, and enable both the ftp and the stream in yawcam.

/malun
Big Max Leo
Posts: 16
Joined: Sat Jan 29, 2005 7:11 pm

Post by Big Max Leo »

tak summeket ... this is the only 2 words I know in Swedish !
it works
http://www.bigmax.org/WebCamDisplay.htm
malun
Site Admin
Posts: 1593
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

Good to hear!
And "Tack så mycket" for your swedish words :D

/malun
Post Reply