How can i load media files like instagram and facebook

Hi all,
I’m creating a social application where users can upload their images, videos and audio. And i’ll load the media files from s3 through URL. Now i want to make the user experience better so I’m thinking of making it like instagram and facebook. When the media file is big or network is down to show a loader.
Can any one help me, Thanks in advance.

Sure, it’s a bit more on the Angular side of things.

https://www.techiediaries.com/angular-file-upload-progress-bar/

This can at least get you in the right direction. It will show you how to get the progress level of the upload.
How you display that is up to you to find out.

Would love to see what you come up with!

There’s plenty of tutorials on how to do that. A quick google search will show you how to lazy load images with placeholders.

1 Like