The legacy save for web code has a 8192px limit on the longest edge, larger images will be scaled down without a message. If an image is too large to be processed, there used to be a message saying so, however, that may have been changed over the years. Export As does not support animation at this time. 1920 x 31081 px is a rather large GIF animation, even if it only has 5 frames.