Problems with opening a web page by clicking an object after embedding a project

Hello. i was trying to make a button open a web page after click. However, finally I did it but it’s working only when i run my project through the playCanvas editor. I embedded the project in my site and, everything else is working properly but when i click on the button it appears a dialog window with the following text:www. … .com redirected you too many times.
link to my project: PlayCanvas 3D HTML5 Game Engine
link to my site: http://178.169.209.34:7900/index.jsp

The link to your site doesn’t work?

try that link: http://178.169.209.34:7900/index.jsp

In the console, the following error comes up:

Refused to display 'https://www.ebay.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

From a Google, it looks like there are several solutions but if you are just serving content from your website, you should be fine regardless. It’s only happening because you are trying to load content from a different domain.

I changed the link. Now it is link from my site. But now there is other problem in the error log:
Mixed Content: The page at ‘https://playcanv.as/b/bKcVT2ho/’ was loaded over HTTPS, but requested an insecure resource ‘http://178.169.209.34:7900/login.jsp’. This request has been blocked; the content must be served over HTTPS.

I fixed it. Just delete the “s” of “https” from the embedding url and now it is working but loading the page in the iframe it is not changing the whole page

You can try changing the target? https://stackoverflow.com/questions/11207900/change-parent-url-from-iframe

You still may end up with issues because the iframe origin is different from your domain.

Everything works perfect. The change I did is to replace “_self” in “window.open(this.link1,”_self");" with"_top". Thanks for the help