Slowly rotating Spherical image as Background?


I’d like to know if anyone has a workflow to have a slowly rotating sphere of a 360 photo as a background?

I’ve seen a few [old] posts about embedding a clickable 360/spherical viewer and I’ve found code for a rotating “globe” but can’t find a solution to have a 360 panoramic (which is essentially a 360 photo mapped to the inside of a sphere) that can slowly rotate.

Any pointers would be amazing.

Many thanks,