cordova-plugin-video-thumbnail2

1.0.8 • Public • Published

npm version

cordova-plugin-video-thumbnail

This plugins can generate a thumbnail from a remote or local video file.

Installation

cordova plugin add cordova-plugin-video-thumbnail2

Supported Platforms

  • Android
  • iOS

Usage

window.videoThumbnail
  .createThumb({
    videoPath: "/video1.mov",
    width: 100,
    height: 100,
    kind: 1 //android only
  })
  .then(
    thumb => {
      //base64 encoded thumbnail
    },
    error => {
      //deal with error
    }
  );

References:

https://github.com/lulee007/cordova-plugin-video-thumbnail by @lulee007

Package Sidebar

Install

npm i cordova-plugin-video-thumbnail2

Weekly Downloads

9

Version

1.0.8

License

Apache-2.0

Unpacked Size

20.1 kB

Total Files

6

Last publish

Collaborators

  • saoron