How Do I Load a .gif File?

This is going to be a bit tedious :confused::grin:

Just tested PedrozaGlide Extension and Glide Image Loader Extension by @Atom_Developer and they do not work with Mit App Inventor cause they do not use the AndroidX libraries.
Also tested GifView extension that works in companion but not as apk

1 Like

This will load a gif animated image from Assets and from a link.

GIFSplash.aia (440.3 KB)
using a modified Taifun's WebViewer example.

If all goes well, the new ai2 release will support gif files. :+1:

1 Like

I actually found a new way to use .gif files in app inventor. We can convert a .gif into .mp4 format by using websites available over the internet. Then we can use the Video Player component like this:
blocks
You can also control the start and stop of the gif. This is the best way to use GIFs in App inventor without any extension. The video player will loop endlessly the video file like a gif until you command it to stop. It just takes 2 minutes to do this-Easy and Simple.

4 Likes

My problem is they have to play while the device does not have them😕.

You can play video from url

1 Like

They only look like binoculars over the gif😁

Users of the app do not have to install the gif, they are already included in .apk package when you compile the app. I have tried running it one of my friend's devices and it works flawlessly. You just need follow these steps:

  1. Turn .gif to .mp4 format
  2. Upload it like this:
    image
  3. Then use the blocks i posted in post #25 in this thread.
    HTH!

Do you want me to convert Gif to mp4 or pass it to the inventor of applications as video?

Where is this

yes absolutely, this will help it work.

Which of the two is final?

See this:

This might help you!

1 Like

The problem persists, the video does not play :thinking:.