Here is a transparent GIF that I made using Blender and Photoshop:
I'm happy with it, but I would like to trim out the transparent pixels that are unused around the ball throughout the animation to make the file lighter and easier to fit with other content in a webpage.
However, the animation has a variable height and width, so when I put it in Photoshop and select "Image > Trim > Transparent Pixels", it trims around one of the frames which doesn't work out because one single frame of the animation has a height and width that are not significant to the rest of the animation.
What is a workflow-friendly and easy way to trim out pixels outside the animated area of a GIF?
PS: Sorry for the epilepsy inducing GIF