Details
Description
DeviceCoreRenderer sets the accept type which provides features on mobile devices but interferes with desktop uploads. The following code should be disabled for desktop browsers:
if (comptype.equals("camera")){
writer.writeAttribute("accept", "image/*");
}
if (comptype.equals("camcorder")){
writer.writeAttribute("accept", "video/*");
}
if (comptype.equals("microphone")){
writer.writeAttribute("accept", "audio/*");
}
if (comptype.equals("camera")){
writer.writeAttribute("accept", "image/*");
}
if (comptype.equals("camcorder")){
writer.writeAttribute("accept", "video/*");
}
if (comptype.equals("microphone")){
writer.writeAttribute("accept", "audio/*");
}
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion