Anyway to make a thumb from mp4 or pdf?

I want to show a preview of the files when the user first uploads to Uppy, before the form is submitted. I know there is a way to do this for an image. Any way to do it for a video or pdf?

EDITED: I see that HTML5 provides a way to do this. Does Uppy keep a copy of the file in the page somewhere?

Thx!

Does Uppy keep a copy of the file in the page somewhere?

You can get the Blob object for a file using uppy.getFile(theFileID).data, or an array of all files (including .data properties) using uppy.getFiles(). Is that what you’re looking for?