Is there a way to change composer player background frequently via API

Is there a way to change composer player background frequently via API, such as 30 times per minute. Thanks for any reply.

SolidworksComposer