JavaScript code on video works in preview, does not work when website is published.

I am using JavaScript in conjunction with 4 buttons to jump around to different portions of a video animation I have created. I have managed to get the results I want in the EditorX preview. However, when I publish the website and visit the page, these buttons have no affect on the video. Let me know of any troubleshooting ideas you have!

Not enough info.
Do you have any code? Could you post the code? Can you add screenshots? Can you add live site URL?