Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IOS Safari camera access
#1
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
Reply
#2
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.
Reply
#3
(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.
Reply
#4
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:

[Image: iOS-Camera.gif]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)