Jump to content
Felix.

Component for GIF animation

Recommended Posts

Please recommend me a Firemonkey component (Windows, Android) to display GIF animations.

Share this post


Link to post

What happens if you test out TMediaPlayer on Android? It seems to work on Windows.

procedure TFormMain.FormCreate(Sender: TObject);
begin
  { TMediaPlayerControl component instance }
  MediaPlayerControl.Align := TAlignLayout.Client;
  MediaPlayerControl.MediaPlayer := MediaPlayer;

  { TMediaPlayer component instance }
  MediaPlayer.FileName := 'TestGif.gif';
  MediaPlayer.Play;
end;


 

Share this post


Link to post

Currently skia4delphi closed beta supports gif on all platforms. The next release will be available in 2 weeks.

Edited by vfbb
  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×