I'm writing a desktop application with javafx and when I add a gif to an ImageView from URL source (http) it only plays part of the gif. I've even tried downloading the gif to a file on my system and it still only played for a second. When I play it in my browser it plays fully.
How can I display a gif from giphy or any other gif hosting site into imageview to play the full duration
?
public void retrieveGif() {
System.out.println("retreiving gif");
giphyImage.setImage(new Image("http://i.giphy.com/E2d2tsgz7iHo4.gif"));
}
Maybe this gif is broken.
I downloaded and resized and uploaded it works.
Resize: https://ezgif.com/resize
Upload: https://gifyu.com/