Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work for Safari (desktop or iOS). Getting 'Webcam Unavailable' Error. #13

Closed
pkpp1233 opened this issue May 30, 2018 · 3 comments

Comments

@pkpp1233
Copy link

Describe the bug
I'm unable to run jeeliz face filter on safari. I'm getting the 'webcam_unavailable' error.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://jsfiddle.net/jeeliz/2p34hbeh/
  2. Open command line to see error.

Expected behavior
You should see the camera, but you're only seeing a blank page.

Screenshots
image

Desktop (please complete the following information):

  • OS: iOS / macbook pro
  • Browser: Safari

Smartphone (please complete the following information):

  • Device: iPhone.
  • Browser: Safari mobile.
@pkpp1233 pkpp1233 changed the title Webcam Unavailable in Safari (desktop and iOS) Doesn't work for Safari (desktop or iOS). Getting 'Webcam Unavailable' Error. May 30, 2018
@pkpp1233
Copy link
Author

Looks like a recent push broke this lib for safari. A previous version ended up working for me https://jeeliz.com/demos/faceFilter/dist/jeelizFaceFilter.js so I'm using that.

@xavierjs
Copy link
Member

Hi,

Thank you for this accurate bug report
This is strange both versions should be the same, I will investigate the problem.

There are some problems with JS fiddle because the code is executed on an iframe
If you do not have the popup asking for the webcam I am pretty sure this is the problem.
It is linked with the HTML inline "allow" property of the iframe.

On linux/Chrome latest if I write a jsfiddle it does not work immediately, I have to save it and to reopen it to avoid the iframe permission errors.

@xavierjs
Copy link
Member

You are right, the https://appstatic.jeeliz.com/faceFilter/jeelizFaceFilter.js was not the right one, the bug is fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants