Skip to content

dride/cordova-plugin-video-thumbnail2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

PhoneGap/Cordova video thumbnail generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 72.6%
  • Objective-C 24.1%
  • JavaScript 3.3%