Hola a todos de nuevo, bueno, a ver si os sirve de algo el codigo, no valen guarradas ehhhhh!!!!!!!!!!!!!

a ver si aguantamos las hormonas jijijijijiji

Código: [Ocultar] [Seleccionar]
<script language="JavaScript">
<!--
browserType = navigator.appName;
newImage = new Image();
document.onstop = document_onstop;


function startstop_onclick()
{
if (startstop.value == "Stop")
{
stopLoad();
}
else
{
startstop.value = "Stop";
newImage.onload=loadNewImage;
loadNewImage();
}
}


function document_onstop()
{
stopLoad();
}

function stopLoad()
{
newImage.onload="";
startstop.value = "Start";
window.status = "Video en vivo paro ...";
}

function loadNewImage()
{
   uniq = new Date();
   uniq = uniq.getTime();
   document.images.webcam32.src=newImage.src;
   newImage.src="http://TU_IP:8888/video/pull?"+uniq;
   window.status = "Video en vivo ...";    
}
function initialImage()
{
uniq = new Date();
uniq = uniq.getTime();
newImage.onload=loadNewImage;
newImage.src="http://TU_IP:8888/video/pull?"+uniq;
   document.images.webcam32.onload="";
}

function imageError()
{
window.status = "Lo siento ... la camara esta apagada. Por favor, chequea mas tarde";
image = document.images.webcam32;
image.onload = "";
image.onerror = "";
<!-- startstop.disabled = true; -->
document.images.webcam32.src = "";
}



{
document.write('<IMG SRC="http://TU_IP:8888/video/pull" name=webcam32 onload="initialImage()" onerror="imageError()" width=320 height=240 align=center>');
}
//-->
</script>


Insértalo dentro del <head> y si no funciona lo insertas dentro del <body> a ver si va.



Solo necesitas bajarte un programita llamado, "Webcam32" de tan solo un par de megas.

Instálalo y configúralo con tus datos, es muy sencillo y en segundos estarás emitiendo en vivo.