HTML5 - How to start chrome without security (GetUserMedia working)

From GUILLARD WIKI
Revision as of 11:32, 15 April 2022 by Guillard (talk | contribs)
Jump to navigation Jump to search

On mac :

- Open terminal
- /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --unsafely-treat-as-secure="http://localhost:8000"
(replace by the required url)

Or without any security:

- sudo /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --disable-web-security