I have found a script HERE, which I would like to test on my localhost, but I have no idea how to add the new requirement of &parent=localhost.
Numerous google queries have been fruitless.
I’ve already added the required header requirements ie; const Authorization = ‘blah blah’, with my own clientID, but how and where to add the &parent string, I am at a loss.
I am also using wamp, and have configured it to be https.
Any and All assistance is Greatly appreciated.
Thank You in advance. ------------------------------------------------------------------------------------------------------------------------------------
[Answer] | [Solved] | [Final Edit] Change this line in the html file
Good evening Barry.
Thank You for having a look at this, and taking the time to reply.
I had already tried your suggestion, and it hadn’t worked for me.
I get a blank screen, with no errors in the web console.
The amount of things I have tried would be too extensive to list here, but I Do apologise for not mentioning the basic iframe string, in that format.
After reading your post, and knowing that I’ve tried that, I thought there may be something mis-configured within my setup, but I tried it in the codepen link within my primary post, and it also returns a blank screen, as displayed in the attached images below.
For testing on codepen you would need 2 parents, 1 for codepen.io like you have done, but because the preview area is within its own iframe you also need to include that as a parent which would be cdpn.io
I quickly checked the code within my localhost, positive that it was included, and that I had Only forgotten to add it to codepen.
But sure enough, I hadn’t closed it off…
My edit history showed that I had accidentally removed it, during a troubleshooting session, and didn’t even realise.
Cheers for point that out for Me, and for taking time to reply.
Once Again, Thank You Kind Gents/Ladies for Your Contribution & Assistance.
I will mark this thread as Solved, and include the completed edits within the first post, as a reference for anybody which may encounter a similar situation, or the code in question.