Jump to content

shrike2000

Members
  • Posts

    3
  • Joined

  • Last visited

shrike2000's Achievements

Novice

Novice (1/7)

0

Reputation

  1. shrike2000

    Embed Problem

    What exactly are you trying to do? If you are wanting to show the streaming image that shows up when you click on the Connect button and select the JPG-image streams (http://127.0.0.1:8086/broadcamjpg.html?src=1&speed=1), then maybe I can help. I have been experimenting with the code and I think I have figured out the minimum code necessary to display the streaming image: <html> <head> <title>BroadCam test</title> </head> <body> </noscript> <script language="javascript" src="ajax.js"> </script> <script type="text/javascript"> var c = 151039419; var pl = new Image(); var browser=navigator.appName;function updatelink() { if (browser != "Microsoft Internet Explorer") { document.img.src = "http://123.45.67.89:86/broadcam.jpg?src=1&speed=1"; return; } pl.onload=display; pl.src = "http://123.45.67.89:86/broadcamframe.jpg?src=1&speed=1&id=" + c; c++; } function display() { document.img.src = pl.src; setTimeout('updatelink()', 50); } function StartScreen() { setTimeout('updatelink()', 0); } onLoad=StartScreen();</script> <img width=350 name="img" src="http://123.45.67.89:86/broadcamframe.jpg?src=1&speed=1"> </body> </html> Any less than that and I get a still image. If I try to add another feed I get two still images. I left out the link back to NCH in this example, so if you're using it for free you'll need to put that link back in. Anyway, since the displayed part of it is the last <img src..>, you can just put that anywhere on your page and it should look fine.
  2. shrike2000

    Timer Clock

    I have also wondered this and searched through the functions, menus, and what-not. There does not appear to be a way to do this.
  3. I would like to have multiple cameras streaming on one page. Has anyone been able to do that? I can get all the cameras on one page, but only with a still shot and I have to refresh to get a new image. I've tried jacking with the code but I'm definitely not a programmer.
×
×
  • Create New...