Solved

How do I show live webcam feed on a page of my site?

Posted on 2004-07-31
2
233 Views
Last Modified: 2006-11-17
I have a camera I need to watch via my site.  How can I do this?
0
Comment
Question by:abstractionz
2 Comments
 
LVL 36

Expert Comment

by:Zyloch
ID: 11689863
Can you give more details, such as how much progress you have made already? Also, you may want to post this on the Web Development section as whatever language you need to use, I severely doubt it'll be HTML.

Regards,
${Zyloch}
0
 
LVL 1

Accepted Solution

by:
DS_CL earned 50 total points
ID: 11690523
First off, I am assuming you already have a FTP or live feed mechanism set up to continually send your webcam pics to your server.  Having said that, here is a sample HTML block that can get it done:

<meta http-equiv="refresh" content="1"/>
<meta http-equiv="expires" content="0" />
<img border="0" src="camera/camerapic.jpg" width="352" height="288">

The Meta tags set the expiration and refresh rate of the page.  Whatever number you put in the content tag indicates how fast the webcam updates (the current example is 1 second, however most webcams update around 15 - 30 seconds). Note that it is a good idea to make this sychronous with the FTP speed, so users can see full pictures, instead of having then cut out after awhile.


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now