3 ms·
Add a file input -> the users taps it -> ios asks if they want to use an existing photo or take a new one -> take a new photo. Result on android may differ.
by syrrim 8y ago
Add a file input -> the users taps it -> ios asks if they want to use an existing photo or take a new one -> take a new photo. Result on android may differ.
- sosborn 8y agoInteresting, they don’t seem to allow this on the desktop browser. Changing the user-agent yo a mobile browser exposes it. What a strange decision.
- laurentl 8y agoI don’t use Instagram so can’t check the code, but I would guess they use something like <input type="file" accept="image/*" capture> Which does what you’d expect on a mobile device (launch the camera) but behaves differently on desktops (opens a file upload dialog). They may have decided that this behavior would confuse users.
- deleted 8y ago[deleted]
- geezerjay 8y agoHow do you ensure that a client only sees a picture/video once and can't save it?