Welcome Guest!

If you do not have an account yet on The Web Squeeze forums, please Register! It’s FREE and there are many benefits:

  • Receive Fast Advice
  • Learn Programming Languages
  • Get Professional Website Reviews
  • Quick Troubleshooting Assistance

> Webcam Script

This is a discussion on Webcam Script, within the Flash & Multimedia section. This forum and the thread "Webcam Script" are both part of the Designing Your Website category.

 
Reply to this topicStart new topic
> Webcam Script
Craigboy87
post Jun 5 2008, 05:31 AM
Post #1


Fresh Squeezed
**

Group: Members
Posts: 32
Joined: 11-April 08
From: South West
Member No.: 212



Ok i have spent hours setting up a live webcam for a guy. I have got it onto the WAN and viewable from any PC. The main problem is i want to embbed into a webpage as its currently using its on firmware and the interface is disgusting!

The IP is

http://81.139.118.196/

as you can see its only viewable on internet explorer this isnt a major problem but if there is a script that will make it viewable on all browsers that would be a bonus.

Basically i just want to be able to take each individual camera out and plant them onto seperate pages. ive tried a few things but im now stuck.

Im using an IP server with normal cameras! (not ip cameras)

This seems to be a common question but no one has any answers!!

any help would be much appreciated

cheers

Craig
Go to the top of the page
 
+Quote Post
Scott
post Jun 11 2008, 10:27 AM
Post #2


Fresh Squeezed
**

Group: Advisors
Posts: 36
Joined: 15-February 08
Member No.: 148



Link doesn't work, therefore I can't test it out. :-)

QUOTE (Craigboy87 @ Jun 5 2008, 06:31 AM) *
Ok i have spent hours setting up a live webcam for a guy. I have got it onto the WAN and viewable from any PC. The main problem is i want to embbed into a webpage as its currently using its on firmware and the interface is disgusting!

The IP is

http://81.139.118.196/

as you can see its only viewable on internet explorer this isnt a major problem but if there is a script that will make it viewable on all browsers that would be a bonus.

Basically i just want to be able to take each individual camera out and plant them onto seperate pages. ive tried a few things but im now stuck.

Im using an IP server with normal cameras! (not ip cameras)

This seems to be a common question but no one has any answers!!

any help would be much appreciated

cheers

Craig
Go to the top of the page
 
+Quote Post
Craigboy87
post Jun 12 2008, 12:36 PM
Post #3


Fresh Squeezed
**

Group: Members
Posts: 32
Joined: 11-April 08
From: South West
Member No.: 212



QUOTE (Scott @ Jun 11 2008, 10:27 AM) *
Link doesn't work, therefore I can't test it out. :-)



hi try

81.139.87.198

cheers
Go to the top of the page
 
+Quote Post
Craigboy87
post Jun 13 2008, 05:22 AM
Post #4


Fresh Squeezed
**

Group: Members
Posts: 32
Joined: 11-April 08
From: South West
Member No.: 212



sorry chap its

81.139.112.229


cheers
Go to the top of the page
 
+Quote Post
Craigboy87
post Jun 16 2008, 05:20 AM
Post #5


Fresh Squeezed
**

Group: Members
Posts: 32
Joined: 11-April 08
From: South West
Member No.: 212



81.133.21.1

i have problem with it keep changing at the moment
Go to the top of the page
 
+Quote Post
Craigboy87
post Jun 30 2008, 09:55 AM
Post #6


Fresh Squeezed
**

Group: Members
Posts: 32
Joined: 11-April 08
From: South West
Member No.: 212



this is what ive got cant get the camera to view tho do you know where i would enter the address??? this is where it is now http://217.37.214.137/

CODE

<HTML>
<HEAD>
<script language="JavaScript" type="text/javascript">
<!--
var first;
function onLoad(){
first = 0 ;
var fm=document.display ;
var fm2=document.imagesave ;
fm.location.value = location.host ;
if (first==1) fm.submit() ;
fm2.save_flag.value = 0;
}
function onUnLoad(){
var fm2=document.imagesave ;
if (first == 0)
{
fm2.save_flag.value = 1;
//alert('bye');
}
fm2.submit() ;
}
var px = 1;
var py = 1;
var BString;
var GString;
var ifull = 1;
//2006.11.10 Get mouse coordinate
function getCoordinate(){
px = event.offsetX;
py = event.offsetY;
}
// -->
</script>
<script FOR="Player" EVENT="CreateFinish()" LANGUAGE="javascript">
//setTimeout("parent.frame1.ButtonPlay_onclick()",300)//
</SCRIPT>
<!-- alan 2007.02.06
<script FOR="Player" EVENT="LButtonDown(px,py)" LANGUAGE="javascript">
displayXY.innerText = "You just click left key down on:" + "(" + px + "," + py + ")";
</SCRIPT>
<script FOR="Player" EVENT="LButtonUp(px,py)" LANGUAGE="javascript">
displayXY.innerText = "You just free left key up on:" + "(" + px + "," + py + ")";
</SCRIPT>
<script FOR="Player" EVENT="LButtonDblClk(px,py)" LANGUAGE="javascript">
displayXY.innerText = "You just double click on:" + "(" + px + "," + py + ")";
-->
<script FOR="Player" EVENT="LButtonDblClk(px,py)" LANGUAGE="javascript">
if (ifull)
{
document.body.scrollTop = 0;
document.body.scrollLeft = 0;
document.body.scroll = "no";
Player.FullScreen(1);
ifull = 0;
}
else
{
Player.FullScreen(0);
document.body.scroll = "yes";
ifull = 1;
}
</SCRIPT>
<!--<script FOR="Player" EVENT="EmdMotion(BString)" LANGUAGE="javascript">
var aMotionNumber = BString.split(",");
motionNumber.innerText = "Total motion event: " + aMotionNumber.length;
motions.innerText = "Alert motions: " + aMotionNumber.toString();
</SCRIPT>
<script FOR="Player" EVENT="EmdGpio(GString)" LANGUAGE="javascript">
var aGPIO = GString.split(",");
var tsGPIO;
GPIOnumber.innerText = "Total GPIO event: " + aGPIO.length/2;
GPIOs.innerText = "Alert GPIO port&level: " + aGPIO.toString();
</SCRIPT>-->
</HEAD>
<BODY><!-- onUnload="onUnLoad();" onLoad="onLoad();">-->
<form name = "display" method="GET" action="/display.html">
<input type="hidden" name="location" value="">
</form>
<table border="0">
<tr>
<td>
<OBJECT id="Player" BORDER=0 classid="CLSID:e62d1a95-8299-4b94-85d0-731dc125a60d"
CODEBASE = "/ocx/93X0MP4.ocx#Version=1,18,4,31" width=352 height=288 onMouseOver="getCoordinate()">
<PARAM NAME="Width" VALUE="">
<PARAM NAME="Height" VALUE="">
<PARAM NAME="AutoPlay" VALUE="1">
<PARAM NAME="DisplayRate" VALUE="29.97">
<PARAM NAME="Source" VALUE="">
<FONT COLOR=red SIZE=5> Can't find object</FONT>
</OBJECT>
</td>
<td>
<span id="displayXY"></span><br />
<span id="motionNumber"></span><br />
<span id="motions"></span><br />
<span id="GPIOnumber"></span><br />
<span id="GPIOs"></span>
</td>
</tr>
</table>
<!--<form name = "imagesave" method="POST" action="/display.html">
<input type="hidden" name="save_flag" value="">
</form>-->
</BODY>
</HTML>
Reason for edit: Put code in [ codebox ] :)
Go to the top of the page
 
+Quote Post
Craigboy87
post Jul 10 2008, 06:28 AM
Post #7


Fresh Squeezed
**

Group: Members
Posts: 32
Joined: 11-April 08
From: South West
Member No.: 212



At last it is done!!! it was pain staking but its cracked
Go to the top of the page
 
+Quote Post
Bruno
post Jul 29 2008, 01:05 PM
Post #8


Rapid Squeezer
****

Group: Members
Posts: 146
Joined: 14-February 08
From: Northampton, England
Member No.: 117



grats whats the url so we can have a sneeky peek?


--------------------
Thanks,
Dave.
---------------------------------
My Portfolio....:: bruno89.co.uk (60% finished)
Information.....:: Available for work
---------------------------------
Go to the top of the page
 
+Quote Post
If you found The Web Squeeze to be helpful, please donate so we can keep this site FREE, FRESH, and fortified with Web Design & Development info!
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   9 PoetAlley 297 17th February 2008 - 06:27 PM
Last post by: PoetAlley
No New Posts 7 Webmaster 504 27th August 2008 - 12:40 PM
Last post by: rich97
No New Posts   1 gribble 247 5th March 2008 - 06:08 PM
Last post by: delusion
No New Posts   1 gribble 164 26th March 2008 - 03:59 AM
Last post by: c010depunkk
No New Posts   11 MikeHopley 284 4th April 2008 - 06:37 AM
Last post by: MikeHopley