Video in page

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I have a camera streaming at
that I would like to have open in a page when users click to it.

I tried Front Page Insert-Picture-Video with no luck.

Any clues as to what to do?


Re: Video in page

simba hamarabi wrote:
Quoted text here. Click to load it

Looks like a generate page? Not sure how that would work. Nice room BTW :)


x theSpaceGirl (miranda)

# lead designer @ #
# remove NO SPAM to email, or use form on website #
# this post (c) Miranda Thomas 2006
# explicitly no permission given to Forum4Designers
# to duplicate this post.

Re: Video in page


Quoted text here. Click to load it

It's the direct web page generated from the camera. Camera is also a web server,
directly onto net. To view it users have to add Active X, but some are reluctant
and others aren't capable.

I wish I could just display it in a small window on our index page, then allow
them to click to a larger version.

The view is one heck of a room. It's in a display home in Florida that I can't
afford to buy. :(


Re: Video in page

simba hamarabi wrote:
Quoted text here. Click to load it

It displays fine in FireFox on my Apple PowerBook - FireFox doesn't
have activeX!

Re: Video in page

Quoted text here. Click to load it

Same with Netscape too, just good old IE wants AX. I asked a gal in my office to
look at the page and she freaked out, thought she was getting a virus with the
AX request and popups. Can't be good for clients.....

Someone suggested CoffeeCup to push it out to the net, using my PC as a server,
but it can't "find" the camera since it's an IP camera, hanging on the net.

Below is some "suggested code" the camera generates to place in a web page for

// Set the BaseURL to the URL of your camera
var BaseURL = " /";

// DisplayWidth & DisplayHeight specifies the displayed width & height of the
// You may change these numbers, the effect will be a stretched or a shrunk
var DisplayWidth = "320";
var DisplayHeight = "240";

// This is the path to the image generating file inside the camera itself
var File = "axis-cgi/mjpg/video.cgi?resolution=320x240";
// No changes required below this point
var output = "";
if ((navigator.appName == "Microsoft Internet Explorer") &&
   (navigator.platform != "MacPPC") && (navigator.platform != "Mac68k"))
  // If Internet Explorer under Windows then use ActiveX
  output  = '<OBJECT ID="Player" width='
  output += DisplayWidth;
  output += ' height=';
  output += DisplayHeight;
  output += ' CLASSID="CLSID:DE625294-70E6-45ED-B895-CFFA13AEB044" ';
  output += 'CODEBASE="';
  output += BaseURL;
  output += 'activex/,32,19,0">';
  output += '<PARAM NAME="MediaURL" VALUE="';
  output += BaseURL;
  output += File + '">';
  output += '<param name="MediaType" value="mjpeg-unicast">';
  output += '<param name="ShowStatusBar" value="0">';
  output += '<param name="ShowToolbar" value="0">';
  output += '<param name="AutoStart" value="1">';
  output += '<param name="StretchToFit" value="1">';
  output += '<BR><B>Axis Media Control</B><BR>';
  output += 'The AXIS Media Control, which enables you ';
  output += 'to view live image streams in Microsoft Internet';
  output += ' Explorer, could not be registered on your computer.';
  output += '<BR></OBJECT>';
} else {
  // If not IE for Windows use the browser itself to display
  theDate = new Date();
  output  = '<IMG SRC="';
  output += BaseURL;
  output += File;
  output += '&dummy=' + theDate.getTime().toString(10);
  output += '" HEIGHT="';
  output += DisplayHeight;
  output += '" WIDTH="';
  output += DisplayWidth;
  output += '" ALT="Camera Image">';
document.Player.ToolbarConfiguration = "play,+snapshot,+fullscreen"
// document.Player.UIMode = "MDConfig";
// document.Player.MotionConfigURL =
// document.Player.MotionDataURL = "/axis-cgi/motion/motiondata.cgi";

Re: Video in page

Quoted text here. Click to load it


Site Timeline