My experiment runs perfectly locally in python but has many problems and missing objects in the online version

My experiment runs perfectly locally but does not run properly online.

I’ve added all my files on Experiment Settings > Online > Additional Resources, I have exported the HTML file, and I’ve synced the files in my gitlab. The experiment starts but when it comes to the more complex part of my experiment, interacting with sliders and playing video it is not working as it does locally. The layout is all wrong, it is completely different from when run locally, e.g., only half of my text component appears on screen. Also, at some point a video plays on repeat instead of moving on to the next routine, even though none of these problems appear when run locally.

Could someone help me out? Here’s my gitlab code:

Thank you,
Alkmini

When I just looked you were trying to import a Python function

image

Sliders don’t work online as well as they do locally, so I usually customise them. Have a look at my Interactive Slider demo:

Hi,

Thank you for your help. I managed to resolve the issue. Unfortunately the version you accessed wasn’t the latest one because I was having problems syncing from psychopy. So even though you’re right about the Python function, I had already fixed that. In the end the solution was downloading an older version of my experiment from Pavlovia and creating a new project with it. Then, I had to delete all the cookies from my Chrome.

Thank you for your help anyway,
Alkmini