You can't. It's a security setting that you can't override. You will have to use an alternative to Flash player.
Disable web camera image capture settings popup [closed]
Question
How do I disable the above popup in web camera programmatically using asp.net c#?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow