vujable / react-mediainfo

React wrapper for mediainfo.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React mediainfo.js ๐ŸŽฌ

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-mediainfo

//or

yarn add react-mediainfo

Usage

import { getInfo } from 'react-mediainfo'

getInfo(file)

Roadmap ๐Ÿ“ˆ

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

About

React wrapper for mediainfo.js


Languages

Language:JavaScript 100.0%