Simple solution for using MediaInfoLib in React or JS applications. It's using web worker to load everything flawlessly. MediaInfoLib web assembly is encoded inside the app so there are no web requests to the file.
Try mediainfo.js in your browser which provides the same results: https://mediainfo.js.org
Very simple
npm install sharewithmarvin-mediainfo
//or
yarn add sharewithmarvin-mediainfo
import { getInfo } from 'sharewithmarvin-mediainfo'
getInfo(file)
- Cut size in half.
- Create Hooks.
- Create Wrapper Components.