You saved Me.... Very cool answer. I have decided to post a complete answer for those who need further help in this.
Because Linksys has a wireless webcam that is impossible to embed in a webpage. and you are stuck with their crappy interface. Here is a much better way to handle it!
Create 2 html pages.
the first one is the one that everyone sees. Its your webpage.
Decide where you want to put your video and then add this text to your source code:
Code:
<html>
<TABLE>
<TR>
<TD><iframe src ="img1.html" width="341" height="260" scrolling="no" frameborder="0" name="img1"></iframe></TD>
<TD><iframe src ="img2.html" width="341" height="260" scrolling="no" frameborder="0" name="img2"></iframe></TD>
</TR>
<TR>
<TD><CENTER><a href="img1.html" target="img1">Refresh Video 1</a></CENTER></TD>
<TD><CENTER><a href="img2.html" target="img2">Refresh Video 2</a></CENTER></TD>
</TR>
</TABLE>
</body>
</html>
You will notice a few things.
1) img1.html/ img2.html are pages I have not showed you how to create yet.
2) (width="341" height="260") These are a Perfect fit when the video on the webcam is set to its largest.
3) (scrolling="no" frameborder="0") I dont want it to look like its on my webpage, so I hide everything.
4) (name="img1"/name="img2") I want to call it from a link later, so I have to give it a name.
So now you understand what the tags mean.. lets move on to the iframe trick.
Create a new page called img1.html and place this code in it:
Code:
<body onload="window.scrollTo(330,175)">
<iframe src ="http://YourOutsideIPAddress:1025/img/main_fs.htm" width="1000" height="1000" scrolling="no"></iframe>
Lets review this page:
1) (body onload=) This says: Run something right when the page is loaded
2) (window.scrollTo(330,175)) This is the perfect x/y coordinates for the largest video the linksys webcam puts out. 330 to the right and 175 down.
3) (YourOutsideIPAddress) When you setup your webcam, you should know this. If you want to look internally, you do not need the port number.
4) (:1025) Your port number. Again, a webcam setup thing. For every camera you will have a different port number.
5) (width="1000" height="1000") These number cannot be percentages. The point is for these numbers to be larger than the page.
6) (scrolling="no") and finally you dont want it to get mucked up with nasty scollbars, do ya?
now that your 1st page has been created, lets add page #2 so you see the how to without confusion.
Create a new page called img2.html and place this code in it:
Code:
<body onload="window.scrollTo(330,175)">
<iframe src ="http://YourOutsideIPAddress:1026/img/main_fs.htm" width="1000" height="1000" scrolling="no"></iframe>
You will notice the only change is the port number. Remember, each camera need a different outside port to work. And for those still confused about the port thing, here is the scoop:
Create a port in the advanced camera settings like 1025
and ALSO open that port in your router so the rest of the world can get to it.
I am sure this page is most helpful considering I have been looking for months at how to stop using the crappy linksys interface to view the video feeds.
This works for both the Linksys WVC11B and the Linksys WVC54G Wireless webcams.
You should know that you need a really high end video card to view more than 1 camera feed at the same time. And that the cameras themselves can only support 4 viewers per camera at once.
I can finally rest.
Good luck and happy webcamming.
Bookmarks