Two web cams side by side problem

The code I have put together works a little but with problems. I pulled parts of each iframe to make a smaller frame showing just the webcam from the site. What I am trying to do is have two seperate frames side by side with a space between them. The other problem is the left can you can double click on and go to full screen. The one on the right I can not get it to do that.

here is my code

[php]print “<div style=“display:inline"border: 1px solid red; width: 500px; height: 360px; overflow: \n”;
print “hidden;”><iframe style=“width: 500px; height: 550px; margin-top: -285px; \n”;
print “margin-left: -63px;” scrolling=“no” src=“http://www.surfchex.com/state-port-pilot-web-cam.php” width=“400” height=“370” style=“align:left;”>\n”;
print “\n”;
print “\n”;
print “<div style=“display:inline"border: 1px solid red; width: 500px; height:690px; overflow: \n”;
print “hidden;”><iframe style=“width: 500px; height: 650px; margin-top: -360px; \n”;
print “margin-left: -43px;” scrolling=“no” src=“http://www.surfchex.com/kure-beach-web-cam.php” width=“500” height=“650” style=“align:right;”>\n”;
print “\n”;
print “\n”;
print “”;
[/php]

This doesn’t look right. Why the negative margins? And I see nothing that makes either clickable.

Well, first, the site you are embedding with that code does not work. It does not show any video.
(Unless it is a date/time page that is not working a lot.)

And, to embed a site into another, you need to understand that you do not have control of everything on the secondary
page. It does work for some pages, but often not for others. If you are attempting to embed some other video system,
it is best to actually study their site’s pages and embed the actual feed instead of trying to hide their site in your code.
That seldom works as each browser handles embedded iFrames in different ways. You would need to test this code
hiding the site and showing just the video in all browsers and some will not work the same as you expect.

Looking at the source code on that page, they use a standard type of video player using an address that does not seem to
be active, so you are adding a non-working page to your page…

both of the web cams play all the time on my site now but I will look into the code of the site from their source code. the negative numbers in the code are the offset from the top and left so I can pull out the cam minus the top ads on their site and over from the left to the center where the cam starts. I may not get it tow work the way I want it is just a project I am trying. you can view the running cams on my site at nuddynews .com . I did pull the site up on another persons computer and it worked but I am concerned it want work on some older computers. Thanks for your views.

Sponsor our Newsletter | Privacy Policy | Terms of Service