Skip to content

This npm create a thumb client side from a video (mp4/wbm/DASH) all in html5

License

Notifications You must be signed in to change notification settings

Iragne/videoThumbHtml5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Thumb Html 5

This npm create a thumb client side from a video (mp4/wbm/DASH) all in html5

Compatibilities

npm install videothumbhtml5

Compatibilities

  1. Firefox
  2. Chrome
  3. IE TBD

Method

thumbVideoFactory is in window.thumbVideoFactory

thumbVideoFactory.getThumb(videosURL, time in second, callback)

Param

  1. Video url (mp4 or Dash)

  2. Time to get thumbnail in second

  3. Callback (imageData)

  4. Options (videojs options) default {}

    thumbVideoFactory.getThumb("http://example.com/video.mp4",60, function (imgData) { document.getElementById('canvasImg4').src = imgData; },options);

About

This npm create a thumb client side from a video (mp4/wbm/DASH) all in html5

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published