Here are several ways you can do if animated album artwork is not working in iOS 17.
First, ensure your Apple Music animated cover art is enabled by default. Check if it is disabled. Then, you need to enable it.
Animated cover art is only work for selected music as it is in its initial phase. So, before searching for the solution, check if your preferred music and album are available for animated album artwork.
If you have enabled Reduce Motion on your iPhone, it can stop animated cover art from working in Apple Music. So, it would be best to turn off the Reduce Motion feature on your iPhone. To disable Reduce Motion, Go to Settings >>> Click on Accessibility >>> Select Motion, >>> Turn off Reduce Motion.
The Increase Contrast accessibility feature increases the visibility of your graphics. It may cause your Animated Album Artwork to fail to work. So, try to turn it off. Go to Settings >>> Select Accessibility >>> Click on Display & Text Size >>> Turn off Increase Contrast.
That's it. It will work if you make these small changes.