I have a embed video in an iFrame.
Is there a way to extract infromation such as the ‘title’, ‘description’ and ‘thumbnail’ out and display this information on the page.
(Perhaps using a jQuery?, my knowledge of html code is very limited)
@andreas-kviby … This souds like something you might know, based on other forum posts.
Thanks for any help in advance : )
Ha ha! I take that as a good thing. Using Javascript inside the HTML Component you can send out information from the iframe to Wix Code and use those values in your page. Does the html you have in the html component contains source code or just a link to some script? Please paste in example code from iframe here.
Ha ha ! Yes that is a compliment!
Thanks for the quick response!
On page,
I have an input box and button where the user enters the url where the video plays.
eg. YouTube
In the iframe I have the following code;
<!doctype html>
This plays any video fine so long as the url is known.
However, I’m not able to extract any information out (title, description, thumbnail)