The proof by the image
By wapcamer on Wednesday 20 June 2007, 02:28 - Wapcam Project - Permalink
As you can see it on this page you are looking at, here is the proof of how
easy it is to integrate your webcam inside web pages.
You wished you had the same on your blog/site/whatever ? Here is a simple way to achieve that ... ( is there a difficult way with WapcamServer anyway???)
WapcamServer can help you broadcast your webcam by many means: direct access
on your computer, FTP upload, redirections...
This method uses a simple HTML image tag pointing to my WapcamServer at
home. The short Javascript is here to make the picture refresh
automatically.
In order not to consume too much of your bandwidth, or to get on your nerves
seeing my face, I've set the refresh rate to 10s and the image queried is 160
pixels width. You can just adapt this script to your need.
<img style="width: 160px; "
title="Live Webcam from WapcamServer in Paris"
alt="WapcamServer is currently down."
src="http://demo.wapcamer.com/?width=160"
name="shot">
<script type="text/javascript">
function refreshIt() {
document.images['shot'].src = 'http://demo.wapcamer.com/?width=160&rand=' + Math.random();
setTimeout('refreshIt()',10000); // refresh every 10 sec
}
refreshIt();
</script>
A big thanks to Laurent for coming up with it.
PS: if you see WapcamServer is currently down
, then I must be
sleeping, come back soon !

