Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Interesting, 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.


I 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: