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

Please update URL.createObjectURL #152

Open
jaksm opened this issue Jun 5, 2018 · 1 comment
Open

Please update URL.createObjectURL #152

jaksm opened this issue Jun 5, 2018 · 1 comment

Comments

@jaksm
Copy link

jaksm commented Jun 5, 2018

I get this warning on browser refresh:

camera.js?3da5:28 [Deprecation] URL.createObjectURL with media streams is deprecated and will be removed in M68, around July 2018. Please use HTMLMediaElement.srcObject instead. See https://www.chromestatus.com/features/5618491470118912 for more details.

Just wanted to notify users about this.

@RobertDavidson
Copy link

Hi @jaksm,
I just worked on a project today that had a need for instascan. This issue has been fixed in the source code, by the author, but a new build had not been published. You will need to clone the repo, install node.js, and gulp. Then run gulp release.

These are the steps I documented for next time...

Rebuild instascan.min.js from source:
1 - Clone instascan repo from github using Source Tree. https://github.com/schmich/instascan.git
2 - Install Node JS on workstation. https://nodejs.org/en/
3 - Open Node.js command prompt and change working directory to the cloned instascan repo.
4 - Install all dependencies found in the 'package.json' and 'gulpfile.js' - Example 'npm install gulp'
5 - Run the gulp task to build the instascan.min.js file = 'gulp release' OR 'gulp build' to build a non min version.
6 - New instascan.min.js file will be located in the dist folder.

Hope this helps

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