Go Back   CodingForums.com > :: Client side development > JavaScript programming > Ajax and Design

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-07-2011, 05:07 PM   PM User | #1
pokiaman
New to the CF scene

 
Join Date: Dec 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
pokiaman is an unknown quantity at this point
Question Problem with ip camera

Hallo,

i have a big problem and i m confused for days now trying to solv this,,,

ok the problem is the following,,

1. imagine that i m managing through joomla administration a joomla site. And have created a new article through joomla logged in as a manager and with NO Jce Editor i have added a javascript for connecting with an IP Camera through my local intranet. This is done and the sript for that is the following,

<script language="JavaScript">
if ((navigator.appName == "Microsoft Internet Explorer")&&(navigator.platform != "MacPPC"))
{
document.write("<OBJECT ID=\"RtspVapgCtrl\" WIDTH=800 HEIGHT=700 name=\"RtspVapgCtrl\"");
document.write(" CLASSID=CLSID:73888E2B-FF04-416C-8847-984D7FC4507F");
document.write(" CODEBASE=\"http://10.10.9.10/RtspVaPgDecNew2.cab\">");
document.write("<PARAM NAME=\"VSize\" VALUE=\"SIF\">");
document.write("<PARAM NAME=\"Language\" VALUE=\"EN\">");
document.write("<PARAM NAME=\"ClickEventHandler\" VALUE=\"3\">");
document.write("<PARAM NAME=\"Url\" VALUE=\"http://10.10.9.10/cgi-bin/control.cgi\">");
document.write("<PARAM NAME=\"ViewStream\" VALUE=\"0\">");
document.write("</OBJECT>");

}

if ((navigator.appName == "Microsoft Internet Explorer")&&(navigator.platform != "MacPPC"))
{

document.write("<OBJECT ID=\"RtspVapgCtrl\" WIDTH=800 HEIGHT=700 name=\"RtspVapgCtrl\"");
document.write(" CLASSID=CLSID:45830FF9-D9E6-4f41-86ED-B266933D8E90");
document.write(" CODEBASE=\"http://10.10.9.10/RtspVaPgDec.cab\">");
document.write("<PARAM NAME=\"VSize\" VALUE=\"SIF\">");
document.write("<PARAM NAME=\"Language\" VALUE=\"EN\">");
document.write("<PARAM NAME=\"ClickEventHandler\" VALUE=\"3\">");
document.write("<PARAM NAME=\"Url\" VALUE=\"http://10.10.9.10/cgi-bin/control.cgi\">");
document.write("<PARAM NAME=\"ViewStream\" VALUE=\"0\">");
document.write("</OBJECT>");

}
else{

document.write("<OBJECT ID=\"quicktime\" WIDTH=800 HEIGHT=700 name=\"quicktime\"");
document.write(" CLASSID=CLSID:02bf25d5-8c17-4b23-bc80-d3488abddc6b\">");
document.write("<embed scale=\"ToFit\" width=\"800\" height=\"700\" type=\"video/quicktime\" qtsrc=\"rtsp://10.10.9.10/live.sdp\"src=\"http://10.10.9.10/realqt.mov\" qtsrcdontusebrowser autoplay=\"true\" controller=\"true\" />");
document.write("</OBJECT>");
}
</script>

2. The problem is that due to heavy traffic i would like to stop the connection (viewing) with my ipcamera after 1 minute and at the same time to popup a window in the user browser IE or Mozilla, what is the script for that ??? i m so confused please help!!!! someone!!!
pokiaman is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 06:29 AM.


Advertisement
Log in to turn off these ads.