Live camera view no longer working on iOS
Closed this issue · 3 comments
rdarcy1 commented
Crisfole commented
We fixed this by adding muted autoplay playsinline
on the video
element.
rdarcy1 commented
@Crisfole aren't those attributes already on the video element? https://github.com/PaulKinlan/qrcode/blob/production/app/index.html#L45
I've had some success by switching the getUserMedia
API to use the navigator.MediaDevice object, but as the two don't adhere to the same interface it requires some deeper code changes.
Crisfole commented
Sorry, I just realized we'd switched to a wrapper of qr-reader...wrong repo.
…On Thu, Apr 18, 2019, 10:10 AM rdarcy1 ***@***.***> wrote:
@Crisfole <https://github.com/Crisfole> aren't those attributes already
on the video element?
https://github.com/PaulKinlan/qrcode/blob/production/app/index.html#L45
I've had some success by switching the getUserMedia API to use the
navigator.MediaDevice
<https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia>
object, but as the two don't adhere to the same interface it requires some
deeper code changes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#57 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADE4NP2YLKVK72IVCSYO3DPRB6NBANCNFSM4HG4IHEA>
.