Skip to content
 
 

Latest commit

 

History

35 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages