We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
i try to use the camera on smartphone (android + chrome) and since few days i always have :
Failed to execute 'play' on 'HTMLMediaElement': API can only be initiated by a user gesture.
If i look at the package, the play() action is done on Template rendered, maybe it's the problem because the action is not triggered by user.
To reproduce:
The text was updated successfully, but these errors were encountered:
just added a Pull Request (PR13) that solve problems on Android Chrome
Sorry, something went wrong.
In lieu of this PR being accepted, it looks like adding the following code to your app will hotfix the issue:
Template.viewfinder.onRendered(function() { this.$("#video").attr("autoplay", "autoplay"); });
It seems to be a valid solution. Actually i use my own solution in my own fork of this pakages stored in /packages/mobile-packages folder.
Successfully merging a pull request may close this issue.
Hi,
i try to use the camera on smartphone (android + chrome) and since few days i always have :
If i look at the package, the play() action is done on Template rendered, maybe it's the problem because the action is not triggered by user.
To reproduce:
The text was updated successfully, but these errors were encountered: