Skip to content
Find file
@samdutton @hemanth
55 lines (36 sloc) 1.58 KB
<!DOCTYPE html>
<meta name="description" content="Simplest possible examples of HTML, CSS and JavaScript." />
<meta name="author" content="//">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
<meta itemprop="name" content=" simplest possible examples of HTML, CSS and JavaScript">
<meta itemprop="image" content="/icon_192x192.png">
<meta name="mobile-web-app-capable" content="yes">
<meta id="theme-color" name="theme-color" content="#fff">
<base target="_blank">
<link rel="stylesheet" href="../css/main.css" />
video {
object-fit: cover;
@media screen and (min-width: 1000px) {
video {
height: 480px;
<div id="container">
<h1><a href="../index.html" title=" home page"></a> getUserMedia</h1>
<video autoplay></video>
<p>The <code>MediaStream</code> object <code>stream</code> passed to the <code>getUserMedia()</code> callback in this demo is in global scope, so you can inspect it from the console.</p>
<p>For more information, see <a href="" title="Media capture article by Eric Bidelman on HTML5 Rocks">Capturing Audio &amp; Video in HTML5</a> on HTML5 Rocks.</p>
<a href="" title="View source for this page on GitHub" id="viewSource">View source on GitHub</a>
<script src="js/main.js"></script>
<script src="../js/lib/ga.js"></script>
Something went wrong with that request. Please try again.