Solved

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

Posted on 2004-07-31
2
237 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

685 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