Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 09-21-2005, 03:29 AM   #1 (permalink)
riyada
Registered User
 
Join Date: Aug 2005
Posts: 5
riyada is on a distinguished road
Live image/video feed

In here I have a link which when clicked on shows a snapshot of what my
camera(Toshiba IP network wireless) is capturing at the moment.
Click on the thumb that says "Click here for a live shot"
Problem is I have to refresh the page each time I want to see a fresh image.
Is there any way I could do the refresh part automatically with javascript?
Thanks for any help

http://ranabtawi.com/Villacamera.htm

Maybe this is a bit too much to ask for ..
I would like to get embeded on my page the following link which shows a live video of my camera.. Any way to do it?
http://camerawebpage.com/riyada
Thanks
riyada is offline   Reply With Quote
Old 09-21-2005, 05:40 AM   #2 (permalink)
redhead
Super Moderator
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,874
redhead is on a distinguished road
1)Use <iframe>

2)
HTML Code:
<applet style="" adblockframename="adblock-frame-n1"
 adblockframedobject="true" adblockmatch="" adblocktype="5"
 adblocklocation="http://200.47.122.70:8000/MovieApplet"
 adblockdata="true" id="MoviePlayer" archive="MovieApplet.jar"
 code="MovieApplet" codebase="http://200.47.122.70:8000" align="top"
 height="481" hspace="0" vspace="0" width="641"> <param name="liveFileName" value="__live.jpg"> <param name="playFileName" value="__play.jpg"> <param name="screenWidth" value="640"> <param name="screenHeight" value="480"> <param name="viewWidth" value="640"> <param name="viewHeight" value="480"> <param name="directControl" value="1"> <param name="userid" value=""> <param name="password" value=""> <param name="timeout" value="5000"> <param name="port" value="8000"> </applet>
The viewWidth and viewHeight sets the current size of the shown image, just keep the screenWidth and screenHeight at the same value.

Take a look at the code of that "live feed" page, it has a nifty zoom manager aswell, which is handlet by some javascript
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 09-21-2005, 05:55 AM   #3 (permalink)
riyada
Registered User
 
Join Date: Aug 2005
Posts: 5
riyada is on a distinguished road
Hi and thanks for your reply. I am not sure (yet) about Iframes.. Never used them before.
I have come up with this so far. Dunno how to control the camera though
http://ranabtawi.com/Poolcamera.htm
Thanks
riyada is offline   Reply With Quote
Old 09-21-2005, 05:55 AM   #4 (permalink)
riyada
Registered User
 
Join Date: Aug 2005
Posts: 5
riyada is on a distinguished road
BTW, you didnt paste the live feed page address..
riyada is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
anyone live in australia? sde Lounge 8 06-13-2003 10:24 AM


All times are GMT -8. The time now is 03:40 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting