javascript open camera browser code example Example: javascript use camera <input type="file" accept="image/*;capture=camera">