accessing the camera in a windows 8 metro style app using html and javascript
DESCRIPTION
This short screencast will show you how to access the Camera in your own Windows 8 Metro Style App using HTML and JavaScript. We do this in a fun, immersive way utilizing the free MetroGameKit (http://metrogamekit.codeplex.com). Fore more videos check out http://blogs.msdn.com/davedevTRANSCRIPT
![Page 1: Accessing the Camera in a Windows 8 Metro Style App using HTML and JavaScript](https://reader036.vdocuments.us/reader036/viewer/2022081515/5560b460d8b42a033c8b48e5/html5/thumbnails/1.jpg)
Accessing the Camera in a Windows 8 Metro Style App using HTML and JavaScript
Dave IsbitskiTechnology Evangelist, Windows 8twitter.com/TheDaveDevblogs.msdn/com/[email protected]
![Page 2: Accessing the Camera in a Windows 8 Metro Style App using HTML and JavaScript](https://reader036.vdocuments.us/reader036/viewer/2022081515/5560b460d8b42a033c8b48e5/html5/thumbnails/2.jpg)
metrogamekit.codeplex.com
![Page 3: Accessing the Camera in a Windows 8 Metro Style App using HTML and JavaScript](https://reader036.vdocuments.us/reader036/viewer/2022081515/5560b460d8b42a033c8b48e5/html5/thumbnails/3.jpg)
Capturing a PhotoStep 1: Assign HTML ElementimgPlayer
Step 2: CameraCaptureUIWindows.Media.Capture.CameraCaptureUI, CameraCaptureUIMode.photo
Step 3 : Assign the resultCropping, URL.createObjectURL(file)
![Page 4: Accessing the Camera in a Windows 8 Metro Style App using HTML and JavaScript](https://reader036.vdocuments.us/reader036/viewer/2022081515/5560b460d8b42a033c8b48e5/html5/thumbnails/4.jpg)
Capturing a VideoStep 1: Assign HTML ElementimgPlayer
Step 2: CameraCaptureUIWindows.Media.Capture.CameraCaptureUI, CameraCaptureUIMode.video
Step 3 : Assign the resultCropping, URL.createObjectURL(file)
![Page 5: Accessing the Camera in a Windows 8 Metro Style App using HTML and JavaScript](https://reader036.vdocuments.us/reader036/viewer/2022081515/5560b460d8b42a033c8b48e5/html5/thumbnails/5.jpg)
For more Windows 8 Developer content, please visit the Windows Developer center
twitter.com/thedavedev | [email protected]
http://dev.windows.com
![Page 6: Accessing the Camera in a Windows 8 Metro Style App using HTML and JavaScript](https://reader036.vdocuments.us/reader036/viewer/2022081515/5560b460d8b42a033c8b48e5/html5/thumbnails/6.jpg)