Viewing your family members

  • Thread starter Marc R. Bertrand
  • Start date
M

Marc R. Bertrand

Hello,

I am trying to make this as simple as I can. At this very initial
design type of stage, just the overall plain blueprint so to speak
would be a good start.
==========================================================================

Suppose you live in Sidney, Australia. You are sitting at your PC and
you
go to your own website: www.myfamily.net (I use myfamily.net as an
example. Ignore the actual existing myfamily.net website).

There on the home page of the website myfamily.net, you see a map of
the world. On this map, there are little dots that represent cities.
You have an oncle who lives in New York city, USA. You see the little
dot for New York city. You click on it, and a window pops up. In that
window, you see a live view of your oncle sitting at his table and
eating a hamburger!

You close the window and click on the London dot. There you see again
a window popping up with your grandma drinking a cup of tea.

Of course, we assume your oncle and your grandma each have a PC and a
webcam and
are online.

========================================================================
My main question is this:

What does the code in the home page, the one that contains the map, of
myfamily.net look like? Is it HTML only with webcam links if such
links exist? Is JavaScript
required?

I have already seen some code in this newsgroup in different postings
that could very well be adapted to what I want, or so I think. I can
manage to put some HTML and Javascript code together if I know for
sure that it can be done. Before I do anything, I think it's better if
an expert in the matter offers some guidance as to what main blocks of
code I must have and in what language.

The number of family members can be large. Also, it should be possible
for anyone to view more than one member, for example, you could be
clicking on both the New York and London dots and view the uncle and
the grandma at the same time, having two webcam windows on the screen.
As the webmaster of the website myfamily.net, family members are added
or removed as they are born or pass away.

Thanks for your time.





Thanks.
 
E

Evertjan.

Marc R. Bertrand wrote on 07 feb 2004 in comp.lang.javascript:
What does the code in the home page, the one that contains the map, of
myfamily.net look like? Is it HTML only with webcam links if such
links exist? Is JavaScript
required?

Well Marc,

There are so many ways to do this.

For simple map clicking you could use serverside or clientside mapping.

For pop-upping you could use javascript or vbscript(IEonly)(window.open
()), html (target=_blank) only.

For displaying a webcam,
you would have to display the .gif or jpg with <img> html

For autoupdating you can use a html <meta refresh> tag,
or javascript/vbscript timeOut()

Take your pick, learn by viewing the source of sites you like.

Learn html and javascript by above and by simple experimenting.

Do not start your experiments
by trying to do a big task like you asked here.

Do not buy a book and think that one writer can teach you.

And like Sex, you wil get the hang of it.

I took me only 28 years [the programming skill I mean!]
 
M

Marc R. Bertrand

Hi,


Live streams are needed (not a refreshing every minute or whatever).

I have found and played with the code below. It works fine in IE. I
want to know how to modify the code to connect to someone's webcam. Is
it possible to do an experiment with someone having a webcam on his
PC?

What's an encoder? Does each PC having a webcam need to have a special
software? Which one for example?

It's all in the value attribute of the PARAM tag, isn't? Just a wild
guess... Will I have to mess with IP addresses?...

Assuming the simplest example, with one webcam only, what's needed?

Understand, this is brand new stuff to me. I know about basic
programming but this is beyond my league.

============================================================================

<html>
<head>
<title>PANDA</title>
</head>

<body>
<OBJECT ID="MediaPlayer" WIDTH=320 HEIGHT=240
STYLE="position:absolute;left:300px;top:200px;"
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"
standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject">

<PARAM NAME="FileName"
VALUE="mms://nzpmedia1.si.edu/PandaTV">
<PARAM NAME="AutoStart" VALUE="true">
<param name="ShowControls" value="0">
<param name="ShowDisplay" value="0">
<param name="ShowStatusBar" value="1">
<PARAM NAME="AutoSize" VALUE="1">
<Embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/windows/windowsmedia/download/"
filename="mms://nzpmedia1.si.edu/PandaTV"
src="http://nzpmedia1.si.edu/Panda/pandatv.asx"
Name=MediaPlayer
ShowControls=0
ShowDisplay=0
ShowStatusBar=1
width=320
height=240>
</embed>
</OBJECT>
</body>
</html>


Evertjan. said:
Marc R. Bertrand wrote on 07 feb 2004 in comp.lang.javascript:
What does the code in the home page, the one that contains the map, of
myfamily.net look like? Is it HTML only with webcam links if such
links exist? Is JavaScript
required?

Well Marc,

There are so many ways to do this.

For simple map clicking you could use serverside or clientside mapping.

For pop-upping you could use javascript or vbscript(IEonly)(window.open
()), html (target=_blank) only.

For displaying a webcam,
you would have to display the .gif or jpg with <img> html

For autoupdating you can use a html <meta refresh> tag,
or javascript/vbscript timeOut()

Take your pick, learn by viewing the source of sites you like.

Learn html and javascript by above and by simple experimenting.

Do not start your experiments
by trying to do a big task like you asked here.

Do not buy a book and think that one writer can teach you.

And like Sex, you wil get the hang of it.

I took me only 28 years [the programming skill I mean!]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,479
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top