Embed Nextcloud 17 (ubuntu) as an iframe on a wordpress site
error: hat Sie zu oft weiter geleitet
< iframe src=“https://…/login” name=“Cloud” width=“95%” height=“100”>Ihr Browser kann leider keine eingebetteten Frames anzeigen:
Sie können die eingebettete Seite über den folgenden
Verweis aufrufen:
https://…/login
Have you seen this nice little search function in the upper right corner of the screen? It allows to find answers on questions which have already been answered, e.g.
Hi,
I have made the changes described above including the response.php file on Nextcloud 18.0.1. Unfortunately without success.
I want to display a shared folder of Nextcloud within Joomla in an iframe.
I also changed the .htaccess and httpd.conf. This also did not lead to the desired success.
Can you help me?
Greets
Mida
Current status:
Today it showed the header and footer in the iframe, but no files. After I connected with WebDav - the display with iFrame consequently didn’t work anymore. Then the error “Error: Redirection error” occurred again.
The URL of my test page is: scu.planet-danner.de
A pity.
Greeting Mida
Hello, everybody,
the iframe on another page works for me as long as nobody is logged in directly on the nextcloud page. Hm, I have always tested it from the same PC - maybe that’s the problem - but with different browsers. The behaviour is strange.
I hope that there will be a working solution.
cu
I’ve managed to do this when I put the domain of a page where I wanted to embed Nextcloud in the “allowedFrameAncestors” list of ContentSecurityPolicy.php. This is really ugly hack, but it works. Also, check with browser developer tools if there is no other policy that forbids the inclusion.
Thank you.
Unfortunately I could not try your tip. At the moment I’m trying to get NC20.0 running on Ubuntu 20.04 without errors. I will try your tip here
Sorry for the late answer .
@thoosogo You might have seen that this thread has already been marked as “solved”, therefore please OPEN A NEW THREAD with all required information about your environment, used software versions and a DETAILED DESCRIPTION what you plan to do, what you’ve already tried with which result, etc., etc.