I have a command that works fine when im doing it on the console of the regular page.
so i have a link of a playlist of an mp4 and it opens a video frame with an div id for example
“botr_8BDuwUIj_wTsmV8nw_div”
so the command will go as by
jwPlayer("botr_8BDuwUIj_wTsmV8nw_div").getPlaylist();
that on the console returns a array of other videos inside that playlist.
I want to send that same command and receive the individual videos in my wix page where the html element src is that of the playlist.
so im guessing return the response of the command.
See the article Corvid: Working with the HTML Element for details on passing messages to and from an HtmlComponent.
I get that. the component is being linked by a src in the sites code. Even if I give the iframe a timeout displaying a log every second like console.log(“test”) nothing happens. So my next question is. writing a code inside the HTML component within a script tag work? Or do I have to have a complete HTML tag inside that being
most of the tutorials even that of the one that he posted, most of them work when I make my own elements within those tags. when you link the src link it populates another site and it already have all the components I need but nada (nothing)