IOS Safari camera access

<< Click to Display Table of Contents >>

Navigation:  Forum >

IOS Safari camera access

Forum link

 


 

08-31-2022, 12:49 PM:

 

Does anyone know a way to access the camera from the Safari browser in iOS?  I have tried the camera demo from the demos bundle in github which works fine on a pc using the chrome browser but just hangs when using in Safari.

 

I want to be able to create a web application to allow the user to input some details of a product and then be able to take a photograph.

 

Thank you

 


 

09-07-2022, 07:24 AM:

 

I don't think the Chrome code will work for Safari, especially in iOS. I'll see if I can put together another demo for Safari/iOS.

 


 

09-07-2022, 07:41 AM:

 

(09-07-2022, 07:24 AM)Alexandre Machado Wrote: [ -> ]I don't think the Chrome code will work for Safari, especially in iOS. I'll see if I can put together another demo for Safari/iOS.

 

Thank you, any help would be appreciated.

 


 

09-23-2022, 11:46 AM:

 

iOS/Safari needs 'playsinline' in the <video> tag like so:  <video autoplay playsinline></video> and an https connection, I was getting a black screen until I added those two items.

 

A screencast of IW + iOS/Safari + camera: