Trigger lottie file animation on button hover

Hello. The way to communicate between your page code and the HTML component is to use post message.

See the documentation on postMessage