Commit 840da44e by David Ormsbee

add warning message to make sure image capture canvas attributes aren't removed

parent aecaff20
...@@ -93,6 +93,8 @@ ...@@ -93,6 +93,8 @@
</div> </div>
<video id="face_video" autoplay></video><br/> <video id="face_video" autoplay></video><br/>
<!-- Don't remove the width and height for the canvas or the clipping will be off.
Placing it in CSS does not work. -->
<canvas id="face_canvas" style="display:none;" width="640" height="480"></canvas> <canvas id="face_canvas" style="display:none;" width="640" height="480"></canvas>
</div> </div>
...@@ -177,6 +179,8 @@ ...@@ -177,6 +179,8 @@
</div> </div>
<video id="photo_id_video" autoplay></video><br/> <video id="photo_id_video" autoplay></video><br/>
<!-- Don't remove the width and height for the canvas or the clipping will be off.
Placing it in CSS does not work. -->
<canvas id="photo_id_canvas" style="display:none;" width="640" height="480"></canvas> <canvas id="photo_id_canvas" style="display:none;" width="640" height="480"></canvas>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment