Difference between revisions of "HTML5 - How to start chrome without security (GetUserMedia working)"

From GUILLARD WIKI
Jump to navigation Jump to search
Line 1: Line 1:
On mac :
On mac :
<br/><br/>- Open terminal<br/>
<br/><br/>- Open terminal<br/>
<syntaxhighlight lang="linux">/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --unsafely-treat-as-secure="http://localhost:8000"</syntaxhighlight>  
<syntaxhighlight lang="linux">/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --unsafely-treat-as-secure="http://localhost:8000"</syntaxhighlight>  

Revision as of 11:33, 15 April 2022

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