Have you considered that maybe it's a security issue where a website is not allowed access to the client's machine?
When you run it locally, it's not a security issue, because you're running a local program locally. But you open up a nasty can of worms allowing strangers remote access to your...