@lowkey/thumbnailer
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

@lowkey/thumbnailer

React Native module to create a thumbnail for video (iOS only)

Installation

npm install @lowkey/thumbnailer
cd ios && pod install

Usage

import Thumbnailer from "@lowkey/thumbnailer";

// ...

Thumbnailer.getThumbnail("http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4", (error, data) => {
    console.log('URI:', data.uri);
    console.log('Size:', data.size);
    console.log('Width:', data.width);
    console.log('Height:', data.height);
});

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @lowkey/thumbnailer

Weekly Downloads

0

Version

1.2.0

License

MIT

Unpacked Size

24.4 kB

Total Files

21

Last publish

Collaborators

  • jointed
  • max-prokopenko