I managed to find a solution! Instead of using playVideo, use loadBrowserURL! Create a timer with the time of the video, use destroyElement and then reloadBrowserPage.
Hi
I'm creating a script, and in it I use a playVideo function, to play a Youtube video.
But when setting the parameter loop=1 , the video does not restart.
I will leave the function part.
autoplay=1&showinfo=0&rel=0&controls=0&disablekb=1&mute=1&loop=1