Mi camara

<video id="camera" autoplay playsinline width="300"></video>

<script>
navigator.mediaDevices.getUserMedia({ video: true })
.then(function(stream) {
  document.getElementById("camera").srcObject = stream;
})
.catch(function(error) {
  console.log("Error: ", error);
});
</script>

Comentarios

Entradas populares de este blog

{"id":"chatcmpl-Do5KloCdqsoaS7DWYhpXC0q3oAbyq","object":"chat.completion","created":"2026-06-07T10:47:55.000Z","model":"gpt-5-mini-2025-08-07","choices":[{"index":0,"message":{"role":"assistant","content":"","refusal":null,"annotations":[]},"finish_reason":"length"}],"usage":{"prompt_tokens":34,"completion_tokens":2048,"total_tokens":2082,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":2048,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"service_tier":"default","system_fingerprint":null}

Blogger de monetizar páginas web y ganar dinero