poster-image
Capture preview image from a video file. Useful when dealing with videos uploaded by the user.
usage
HTML
Javascript
browser support
Tested with latest Chrome, Firefox, Opera and Edge.
api
poster(file)
Create a video preview image from the given video file.
-
file
- video of typeFile
orBlob
. -
returns a Promise with the image data as
Blob
license
See License