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

Demo page not working #1

Open
DenisSergeevitch opened this issue Apr 27, 2020 · 5 comments
Open

Demo page not working #1

DenisSergeevitch opened this issue Apr 27, 2020 · 5 comments

Comments

@DenisSergeevitch
Copy link

Hi, Im trying to run:
https://cyrildiagne.github.io/ar-facedoodle/

But got this in the console:

Uncaught (in promise) DOMException: Could not start video source
n @ main.be85bd35.js:6
v @ main.be85bd35.js:6
Promise.then (async)
n @ main.be85bd35.js:6
c @ main.be85bd35.js:6
(anonymous) @ main.be85bd35.js:6
(anonymous) @ main.be85bd35.js:6
M @ main.be85bd35.js:68
B @ main.be85bd35.js:68
window.onload @ main.be85bd35.js:68
load (async)
parcelRequire.HJDO.@babel/runtime/regenerator @ main.be85bd35.js:68
f @ main.be85bd35.js:1
parcelRequire.KA2S @ main.be85bd35.js:1
(anonymous) @ main.be85bd35.js:1
@cyrildiagne
Copy link
Owner

Hi,
It seems that the camera is blocked for some reason. What browser are you using? And could you double check that the camera is enabled/available on this page?

@kamend
Copy link

kamend commented May 4, 2020

For some reason on mobile, the video element has to be defined in the HTML beforehand, it could not be dynamically created like in setupCamera(). Also the

@cyrildiagne
Copy link
Owner

Interesting.. Which mobile/browser? It's working find one my Pixel 4 / Chrome

@kamend
Copy link

kamend commented May 11, 2020

The problem is with iOS Safari, I think after iOS 13, Apple added some requirements described here: https://developer.apple.com/documentation/webkit/safari_tools_and_features/delivering_video_content_for_safari#3030250

@cliffvick
Copy link

image

It's happening in Chrome an macOS as well [Version 109.0.5414.119 (Official Build) (x86_64)]

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

4 participants