Upload
david-isbitski
View
2.334
Download
1
Embed Size (px)
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/davedev
Citation preview
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]
metrogamekit.codeplex.com
Capturing a PhotoStep 1: Assign HTML ElementimgPlayer
Step 2: CameraCaptureUIWindows.Media.Capture.CameraCaptureUI, CameraCaptureUIMode.photo
Step 3 : Assign the resultCropping, URL.createObjectURL(file)
Capturing a VideoStep 1: Assign HTML ElementimgPlayer
Step 2: CameraCaptureUIWindows.Media.Capture.CameraCaptureUI, CameraCaptureUIMode.video
Step 3 : Assign the resultCropping, URL.createObjectURL(file)
For more Windows 8 Developer content, please visit the Windows Developer center
twitter.com/thedavedev | [email protected]
http://dev.windows.com