Click to See Complete Forum and Search --> : Web Page in Web Page -- How To?


Tarvardian
08-29-2006, 12:59 PM
Hi All --

I hope this is the correct forum for this questions....

I have a client who has a number of webcams located at his business and he wants to make them available to his customers. The company that manufactured the cameras has agreed to host the cameras on its site so my client doesn't have to get a dedicated server. If you view the cameras from their server the page is bare except for the cameras, and it doesn't look very good.

I would prefer his customers didn't have to click a link and go to that bare page. What I want to do is take the page that serves up the cameras and wrap it with the design we're using for the my client's site, and serve it up from his hosting server.

Is something like this even possible? If so, can someone point me in the right direction?

Thanks,
John

KTspeed
08-29-2006, 03:21 PM
Don't really know how webcams work, but I think they're a picture file that automaticly aren't they? So couldn't you just put them into the page in an img tag? Or do you want it to update constantly? In which case couldn't you use javascript to change the src of the picture every second or so to webcam.jpg?timestamp
Where you the timestamp is, you actually have a timestamp. I think i read somewhere on these forums that doing that will make the browser actually go out and get the picture again instead of taking it from the cache on the computer.

If the webcams are movie files could you put it into an embed, object, or iframe?

If I knew more about how the webcam stuff worked, i might be able to help you more.

Tarvardian
08-29-2006, 05:00 PM
The main issue with the webcams is that they are broadcast in realtime rather than at a specific interval. So I need to figure out a way to get the page in which they are uploaded to Web into a page on my client's site.

I don't know much about webcams either so I'm a loss on this one.

John

KTspeed
08-29-2006, 07:27 PM
OK, so if there is a page with the webcam, couldn't you put that page as the src of an iframe on a different page? That's what your trying to do right? Make it so that the webcam can be viewed from another page?

Tarvardian
08-29-2006, 07:56 PM
You know, I never thought of that. In fact, I think I even found out how to do that with an iframe on the htmlgoodies site.

Thanks, KTspeed.

One more question...

Rather than require this client's customers login to the server to view the webcams I'd like to have it done automatically when they navigate to that particular page. Are you aware of any off-the-shelf script I could use to accomplish that?

Thanks,
John

KTspeed
08-29-2006, 11:05 PM
By login, do you mean like each person would have their own username and password that they would use on the site, like how we use this site? If this is what you mean, no I don't know of any scripts because I haven't ever dealt with usernames and passwords before, but I bet someone else in this forum probably knows of one, or you could try google (or other perfered search engine:)) for it.