Robin Paardekam

.NET Newbie - Silverlight, Sharepoint, AJAX and C#.

Vista Sidebar - Webcam gadget

Now that I am using Vista for several months, I got used to the sidebar gadgets quite fast. It's nice to have those small applications within reach and visible instantly. I thought it would be nice to play with gadget-development a little bit and found that no real configurable webcam gadgets were available yet so that would be a fun little project to experiment with. I found it is very easy to create these gadgets, as they are just tiny HTML-pages with some Javascript functionality. After developing a first version of my Webcam gadget I uploaded it to the Microsoft Live Gallery and within a week I got an email that it was actually published! It's nice to see that people actually want to view a webcam directly in their Vista sidebar, I know that I'd appreciate the functionality, but I was not sure if other people would like it as well.

If you use Vista and like to view a webcam of your choice in your sidebar, then you could view the Windows Live Gallery (category Miscellaneous) and download my webcam gadget. It is attached to this blog-post as well. In the settings-flyout you can define a live stream that you'd like to view, or an image-feed that gets refreshed at regular intervals. Any comments about the gadget are welcome ofcourse and if you like it, don't forget to rate 5 stars!

More info: http://gallery.live.com/
http://www.aeroxp.org/
http://www.codeproject.com/

Attachment: Webcam.zip
Posted: 04-19-2007 11:42 AM by Robin Paardekam | with 15 comment(s) |
Filed under: , , , ,

Comments

RJoosen said:

Hmmm, probably the only one that doesn't get it to work.

After Install there's nothing. Any idea ? Webcam is connected (logitech Quickcam 4000)

# April 27, 2007 10:56 PM

Robin Paardekam said:

After downloading the gadget and running it in Windows Vista it should at least prompt you with a certificate message. Once you confirmed the signature it should install in your sidebar automatically. Do you see the gadget in your Windows Vista Sidebar? Another note: the gadget itself can not connect directly to your webcam (yet). It can only stream a live-feed or it can display a configurable image at a configurable interval. Hope this helps. I will investigate how to view a "locally connected webcam" in the gadget. I received more requests like that. Thanks.

# May 2, 2007 12:41 PM

Hans said:

Logitech has released two webcam gadgets, which obviously only work with Logitech QuickCams:

www.logitech.com/.../558&cl=us,en

In theory, it should be possible to modify the gadget's code, somehow, to see any webcam installed. My Lenovo laptop has a built-in webcam, and that's what I've been working on, but so far, has not been successful in modifying the Logitech gadget.

# June 21, 2007 5:27 AM

Henry said:

Hi.. I cant seem to find an appropriate live webcam for Waikiki??  

# July 4, 2007 8:10 AM

Robin Paardekam said:

Hello Henry, I found several streaming webcams for Waikiki Beach, Honolulu, Hawaii, but most of them were packed in Java-applets. There's one (official governmental) stream at the following URL:

www.honolulu.gov/.../dtsdtwiha.asp

But I am not sure if this is a reliable source as it's currently offline. You should however be able to add this URL manually to the webcam gadget. As soon as the cam is up you will see that on your sidebar. Hope this helps.

# July 4, 2007 10:37 AM

jay said:

luv this gadget, but mine does not seem to update the image, so cool tho!

# July 14, 2007 5:58 PM

Pitof said:

Great... Exactly what I am looking for. :-)

Thanks a lot.

It would be nice if we could save our webcam url and easily switch from one to another.

PS: I'm very interesting of how you build it. Would you agree to share the code source?

# September 14, 2007 10:56 AM

Pitof said:

Wonderfull, I just find the settings.html file and add my own place. :-)

Great gadget.

# September 14, 2007 11:05 AM

darren said:

Great gadget!!  This is the only webcam gadget you ever need.  I have two events of it running at the same time with different views.  Much like jay above though, it does not refresh at the interval that I request in the settings fly-out... It does not refresh at all unless I close the sidebar and re- open it.  Any thoughts?

# October 14, 2007 4:56 PM

Reinier said:

Image indeed does not refresh at the interval rate. The adress itself however provides regular updates. Please try www.scheveningenlive.nl/cam_1.jpg as an example, which updates at 1 minute intervals.

Thnx, Reinier

# November 25, 2007 3:02 PM

Basil said:

Mine picks up my TV Card instead of my Laptop Camera...  Since no config. options...  I cannot use with my Camera without disabling my TV Card...

Needs some more work to be useful...

Thanks for trying though...

# November 27, 2007 6:39 AM

Andy said:

Hi. When I add a URL to an image the gadget works fine. When I reboot the machine, the gadget shows as not configured, but if I click on the spanner, the settings are still there, and when I click OK (without making any changes), the image appears again. This is Vista Home Premium SP1. Any ideas ?

Thanks

Andy

# March 31, 2008 10:13 AM

Robin Paardekam said:

Hello Andy. I did not yet test the image-feed on an SP1 machine. I assumed (I know: I shouldn't have done that) that it would all just work fine but let me check your reported problem when I get home... I did not see that happen before. Regards, Robin.

# April 3, 2008 10:15 AM

Jon said:

Hi Robin,

I have several gadgets that display pictures from the web.  When I boot up all of them including yours first display a comment that means no network connection.  Once the network connection is established all except Live Webcam 2.0 recover and begin displaying.  Even though your gadget displays the not found message if I click enlarge I see the webcam correctly. But this does not fix the small view.  To fix the small view I have to open options and click OK (without making changes).  I presume that once your code times out it does not retry.

Thanks for the great gadget!

--Jon

# May 13, 2008 5:21 AM

Branko said:

I´m having the problem with updating the images from website. The gadget is exactly useless. :-(

# August 1, 2008 9:24 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)