-
Notifications
You must be signed in to change notification settings - Fork 104
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
Async and sync fetching of the wasm failed #39
Comments
Without providing any specifics or a repo for reproduction it's really hard to help you. Did you read the usage documentation? |
Duplicate of #32 |
Yes I did, but Angular if far too different from webpack. I took some time to reply because I was trying to find some documentation on how to do this, but couldn't find anything that I could use.
|
I made it work, but in a very clumsy way. I imported the CDN into index.html and put
in the component. There has to be a better way than that. |
Use a CDN if you like. If you like to use JS bundling, just make sure |
I have opened a bounty in Stackoverflow in order to learn how to integrate Mediainfo with Angular correctly. Maybe you would like to follow the results: https://stackoverflow.com/questions/63001079/mediainfo-js-integration-in-angular-8 |
I'm trying to use Mediainfo.js to get some video info on the frontend of an Angular 8 project. But I'm getting the errors below:
I tried to install wasm package, but it returned lots of V8 related errors. And in it's npm page says it's Node only (https://www.npmjs.com/package/wasm)
Yet Mediainfo's page claims "All analyzing is done in the browser"
How can I use Mediainfo in the browser without it ? Is there any way I can install wasm in the frontend ?
Any other info on this error that can help me ?
The text was updated successfully, but these errors were encountered: