1.2.0 • Published 4 years ago

@lowkey/thumbnailer v1.2.0

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

@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

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago