Embeding w2g, API

I want to embed w2g using iframe and make some automatization.
How can I force player to play video (for example from youtube url) using pure JS ?
I was trying to paste it in “search bar” using “.value” but it is not updating and it seems to be waiting for key event.
I have heard about API that is not publicly available, may I ask for access ?
Thanks for creating w2g!