Generate video thumbnail on the client side