HTMLCanvasElements are amazing for all kinds of things. Paired with the CanvasRenderingContext2D's drawImage method, generating video thumbnails on browsers are incredibly easy. The interface for the method is as follows:
void ctx.drawImage(image, dx, dy);
void ctx.drawImage(image, dx, dy, dWidth, dHeight);
void ctx.drawImage(image …