Animation/overlay during file upload?

Has anyone an example of an animation/overlay he/she is using during a file upload (eg. to AWS S3)?

I’m looking for something that gives the user feedback that the upload is still ongoing. Apparently AWS SDK 3.0 has removed the progress updates (which still existed in version 2). See more about this here

File size is around 5 Mb but not everyone in the World has a fast enough connection that this is done in less than 5 seconds.

Thanks in advance!