How do you get your video to play once your site is published?
Product:
Wix Studio Editor
What are you trying to achieve:
Have an added video play once published.
What have you already tried:
Everything.
Additional information:
[Include any other pertinent details or information that might be helpful for people to know when trying to answer your question.]
Maybe your question is wrong.
Maybe you wanted to know → How do you get your video to play once PAGE is READ?
Yes, thank you. DO you know the answer to that?
On every of your pages inside your editor → you will find something like…
$w.onReady(()=>{
});
What do you think, could it be the right code-part you are searching for?
Should look something like the following …
$w.onReady(()=>{console.log('Page is ready...');
$w('#myVideoIdHere').play();
});
1 Like