0.0.41 • Published 2 years ago

react-mediainfo2 v0.0.41

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

React mediainfo.js 2 🎬

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.

Demo 👀

Try mediainfo.js in your browser which provides the same results: https://mediainfo.js.org

Usage 💻

Very simple

Installation

npm install react-mediainfo2

//or

yarn add react-mediainfo2

Usage

import { getInfo } from 'react-mediainfo'

getInfo(file, options)

Roadmap 📈

  • Cut size in half.
  • Create Hooks.
  • Create Wrapper Components.

Improvement

  • Add parameter options.