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

From GUILLARD WIKI
Jump to navigation Jump to search

On mac :

- Open terminal (replace by the required url into the command)

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --unsafely-treat-as-secure="http://localhost:8000"

- Or without any security:

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