¿Como integrar una webcam en la web
Moderador: Moderadores
¿Como integrar una webcam en la web
Pues eso: Necesitaría que alguien me pudiera informar acerca de como integrar una webcam en el espacio web que estoy realizando.
Muy agradecido de antemano.
hangel
Muy agradecido de antemano.
hangel
web cam en pagina web
Para integrar una web cam en tu web mira de probar con esto aver si te funciona,yo no lo he probado aun... pero lo he sacado de un libro que utilizo mucho y que a mi me da buenos resultados, se llama anima tu web.
<head>
<meta http-aquiv="refresh" content="30">
</head>
<body>
<img src="webcam.jpg" width="230" height="200">
</body>
espero que te sea de utilidad y ya me diras si te funciona estoy en www.joseliki.com saludos.
<head>
<meta http-aquiv="refresh" content="30">
</head>
<body>
<img src="webcam.jpg" width="230" height="200">
</body>
espero que te sea de utilidad y ya me diras si te funciona estoy en www.joseliki.com saludos.
posible solucion
ok amigo no sabria decirte especificamente cual es el codigo para insertar un webcam en tu site, pero lo q si te puedo decir es q en codigo php ya existe un modulo q cumple esa funcion y q podrias insertar a tu site html...si de veras estas inetresado no creo q te moleste leer un poco sobre como hacerlo...este modulo puedes buscarlo como php-nuke addons....de momento no tengo el link directo...si deseas algun manual de php te invito a mi site: www.citroen-designs.tk...ahi encointraras varios en la seccion de descargas...pero en si...el modulo webcam existe ya
Re: ¿Como integrar una webcam en la web
<!-- THREE STEPS TO INSTALL WEB CAM TIME:
1. Copy the coding into the HEAD of your HTML document
2. Add the onLoad event handler into the BODY tag
3. Put the last coding into the BODY of your HTML document -->
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Chris Herrod (christopher_herrod@hotmail.com) -->
<!-- Web Site: http://members.nbci.com/chris_herrod -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
var x = 121;
var y = 1;
function Reload() {
x = x - y;
document.form1.clock.value = "reload in " + x + " seconds";
timerID = setTimeout("Reload()", 1000);
}
var timerID = null;
var timerRunning = false;
function stopclock() {
if(timerRunning) clearTimeout(timerID);
timerRunning = false;
}
function showtime() {
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var timeValue = "" + ((hours >12) ? hours -12 :hours);
if (timeValue == "0") timeValue = 12;
timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
timeValue += (hours >= 12) ? " P.M." : " A.M.";
document.form2.time.value = "The current time is " + timeValue;
timerID = setTimeout("showtime()",1000);
timerRunning = true;
}
function startclock() {
stopclock();
showtime();
}
// End -->
</script>
</HEAD>
<!-- STEP TWO: Insert the onLoad event handler into your BODY tag -->
<BODY onLoad="Reload();startclock()">
<!-- STEP THREE: Copy this code into the BODY of your HTML document -->
<table border=10 width="320">
<tr align=center valign=center>
<td align=center valign=center width="320" height="240">
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Chris Herrod (christopher_herrod@hotmail.com) -->
<!-- Web Site: http://members.nbci.com/chris_herrod -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
var address ="" ;
var time = new Date();
var ab = time.getHours();
if ( ab >= 6 && ab < 22) {
address = "http://yourdomain.com/online.jpg";
}
else {
address = "http://yourdomain.com/offline.jpg";
}
document.write("<img src='" + address + "'>");
// End -->
</script>
</td>
</tr>
<tr align=center valign=center>
<td align=center valign=center width="320">
<form name="form1">
<input type=text name="clock" size=30 value="Web Cam is Loading...">
</form>
</td>
</tr>
<tr align=center valign=center>
<td align=center valign=center width="320">
<form name="form2">
<input type=text name="time" size=30>
</form>
</td>
</tr>
</table>
<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>
1. Copy the coding into the HEAD of your HTML document
2. Add the onLoad event handler into the BODY tag
3. Put the last coding into the BODY of your HTML document -->
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Chris Herrod (christopher_herrod@hotmail.com) -->
<!-- Web Site: http://members.nbci.com/chris_herrod -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
var x = 121;
var y = 1;
function Reload() {
x = x - y;
document.form1.clock.value = "reload in " + x + " seconds";
timerID = setTimeout("Reload()", 1000);
}
var timerID = null;
var timerRunning = false;
function stopclock() {
if(timerRunning) clearTimeout(timerID);
timerRunning = false;
}
function showtime() {
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var timeValue = "" + ((hours >12) ? hours -12 :hours);
if (timeValue == "0") timeValue = 12;
timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
timeValue += (hours >= 12) ? " P.M." : " A.M.";
document.form2.time.value = "The current time is " + timeValue;
timerID = setTimeout("showtime()",1000);
timerRunning = true;
}
function startclock() {
stopclock();
showtime();
}
// End -->
</script>
</HEAD>
<!-- STEP TWO: Insert the onLoad event handler into your BODY tag -->
<BODY onLoad="Reload();startclock()">
<!-- STEP THREE: Copy this code into the BODY of your HTML document -->
<table border=10 width="320">
<tr align=center valign=center>
<td align=center valign=center width="320" height="240">
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Chris Herrod (christopher_herrod@hotmail.com) -->
<!-- Web Site: http://members.nbci.com/chris_herrod -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
var address ="" ;
var time = new Date();
var ab = time.getHours();
if ( ab >= 6 && ab < 22) {
address = "http://yourdomain.com/online.jpg";
}
else {
address = "http://yourdomain.com/offline.jpg";
}
document.write("<img src='" + address + "'>");
// End -->
</script>
</td>
</tr>
<tr align=center valign=center>
<td align=center valign=center width="320">
<form name="form1">
<input type=text name="clock" size=30 value="Web Cam is Loading...">
</form>
</td>
</tr>
<tr align=center valign=center>
<td align=center valign=center width="320">
<form name="form2">
<input type=text name="time" size=30>
</form>
</td>
</tr>
</table>
<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>
Re: ¿Como integrar una webcam en la web
Estaría bien que las personas que contestan a los temas tengan un poquito de idea
Re: ¿Como integrar una webcam en la web
Mira, yo estoy buscando lo mismo y no encuentro ningun codigo HTML.
Visiten mi página: 10detodo.jimdo.com
http://10detodo.jimdo.com
Visiten mi página: 10detodo.jimdo.com
http://10detodo.jimdo.com