SDK Installation on localhost6595
Pages:
1TobiasRempe private msg quote post Address this user | ||
Hi everyone! I was happy to receive an SDK Key and can't wait to build something with it. I am not a skilled developer but have some basic experience with javascript and html. The SDK key is limited to localhost, so I installed and set up a local sever with NodeJS (as it was recommende in the SDK installation guide). To be honest, I have no clue about this server setup and just used this installation guide: @moeidsaleem/how-to-build-your-own-nodejs-server-in-4-minutes" target="_blank">clickable text The server seems to be running and I was able to create a basic HTML-page and view it on my browser. The problem is I can't embed anything on this page. Not even a youtube video or whatever. The browser always shows a frame with the following error message: Cannot GET /%E2%80%9Dhttps://www.youtube.com/watch I suspect that I have to reconfigure my localhost, so it will allow iframes from the web...? Or do i need another iframe snytax when using localhost...? Any help would be apreciated! |
||
Post 1 IP flag post |
inveon private msg quote post Address this user | ||
Hi Tobias. Try change double quotes " with single quote ' in yours code. |
||
Post 2 IP flag post |
TobiasRempe private msg quote post Address this user | ||
Hi inveon, thanks for your reply, that already did the trick Kind of strange though... All the sources I found on the web say, there are no differences between single and double quotes in javascript and HTML, but in this case it seems to big a pretty big deal. When I change all the double quotes to single quotes the iframe isn't shown at all. Just the quotes around the URL have to be double quotes. |
||
Post 3 IP flag post |
Frisco, Texas |
Metroplex360 private msg quote post Address this user | |
@TobiasRempe For what it's worth, I'm not using NodeJS locally. I simply installed XAMMP and developed while looking at everything through http://localhost/ Good luck! |
||
Post 4 IP flag post |
Pages:
1This topic is archived. Start new topic?