Question: how could this be exploited to provide unknowing access to a webcams via modifying this .js to run on a subjectively trusted page? Forgive me if I am being naive but just curious if this could be turned into something that accesses my webcam nefariously? Anyone on HN willing to test if this is possible?
getUserMedia: "Prompts the user for permission to use their Web cam or other video or audio input." [1]
By the way: The example doesn't work for me either.