Code not working on live site

Hello,
I’ve written simple code to start video play and change colour of shapes. It works fine in preview BUT not on the live site.
Q. what I’m I doing wrong?
Thanks

Can you share some more information? Perhaps the code and the link to your site. That way anyone who sees this post would be able to help figure out if you are experiencing a bug or if it is something about how the site is set up.

Thank you Amanda for your rapid response. By using developer tools I’ve found the error. No doubt the first of many many errors for a newbie to wix velo !

Hooray! Glad you figured it out. Happy coding.