<Amazon Apps & Games Services SDKs>/Web/Cookbook/PhotoUpload/. The Web App SDK can be downloaded from the SDK Download page.
File Input Attributes
Adding theaccept and capture attributes to a standard file input element enables users to use the device’s sensors to capture media.
The accept attribute takes a set of comma-separated tokens whose values must be an ASCII case-insensitive match with one of the following values. Duplicate tokens are not allowed.
capture attribute is a boolean that is either present or not. Note: Some older browsers that conform to the July 12, 2012 version of the W3C HTML Media Capture spec expect capture to be assigned one of the following values:
Formatted HTML:
accept and capture attributes must be present for device capturing to work. If none of the MIME types supplied in the accept attribute is supported by the device, then the capture attribute is ignored.
The following examples shows these attributes in use in modern browsers:

