Hey danny, i am not sure if you are willing to work with other's on the regex stuff. But i am willing to try to help if you have any basic info you are willing to share.
Here is a link to some code i have been messing with and some question's i have about it. I know that the code i am starting with is tough, but i am looking for any basic info on how to get the site url to match the $p1 we are supposed to use in the embed code.
https://vborg.vbsupport.ru/showpost....&postcount=671 or
https://vborg.vbsupport.ru/showthrea...150863&page=45