forked from miguelpdl/WebRTC-codelab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathobjectives.html
65 lines (51 loc) · 2.43 KB
/
objectives.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title> Add video element to a HTML5 canvas </title>
<link rel="stylesheet" href="./style/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="./style/clarity.css" type="text/css">
<link rel="stylesheet" href="./style/highlight.css">
<script src="./style/highlight.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
<div class="container-fluid">
<!----------------------------------------------------------------------------------------->
<style> body { padding-top: 60px; } </style> <div class="navbar navbar-fixed-top">
<p id="title">Add video element to a HTML5 canvas </p>
<div class="navbar-inner">
<ul class="nav">
<li class="active"><a href="objectives.html">Objectives</a></li>
<li><a href="step01.html">01</a></li>
<li><a href="step02.html">02</a></li>
<li><a href="step03.html">03</a></li>
</ul>
<p class="navbar-text pull-right"> <a href="http://miguelpdl.github.io/WebRTC-codelab/"> WebRTC Code Lab</a> </p>
</div>
</div>
<!----------------------------------------------------------------------------------------->
<h2 id="get-video-from-your-webcam">Get video from your webcam</h2>
<ul>
<li><p>The purpose of this session is to get a video element in to a html canvas. Towards achieving this the session will:</p>
<ul>
<li>Create a blank HTML5 document</li>
<li>Add a video element to your page.</li>
<li>Add JavaScript to the script element on the HTML5 page, to enable the WebRTC API getUserMedia()</li>
<li>View your page from <em>localhost</em>.</li>
<li>Bonus points of the session.</li>
</ul></li>
</ul>
<!----------------------------------------------------------------------------------------->
<div id="footer">
<p id="footertext">
Prepared by Miguel Ponce de Leon ([email protected]). Except where otherwise noted, this content is licensed under a
<a class="externalLink" href="http://creativecommons.org/licenses/by-nc/3.0/"
title="External link to http://creativecommons.org/licenses/by-nc/3.0/"
target="_blank">Creative Commons Attribution-NonCommercial 3.0 License
</a>
</p>
</div>
</div>
</body>
</html>