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
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?
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
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.
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.
@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.