Amazon s3, can't use external api?

Hi,I have a very simple script (so far for testing purposes) that works in codepen, but not in amazon s3.

On amazon, I get:
navigator.mediaDevice is Undefined

How can I correct this?

Probably you are loading using http not https.

2 Likes

Thanks, will look into it.

That was it, thanks a lot!