Alan Thomas / Show-Me Tech
navigator.webkitGetUserMedia({
audio: false,
video: true
}, function(stream) {
window.stream = stream; // Just so we can inspect it in the console
var video = document.getElementById('video-gum-demo');
video.src = window.URL.createObjectURL(stream);
video.play();
});