Nextcloud als iFrame einbetten

Error message

Warning: ini_set(): Session save handler "user" cannot be set by ini_set() in include_once() (line 144 of /var/www/clients/client1/web748/web/sites/default/settings.php).

Neulich wollte ich ein Video, das auf meiner Nextcloud (V21) liegt, auf einer anderen Webseite als iFrame einbetten.

Firefox lies Aufrufen der eingebetteten Seite nicht zu (Eine Website erlaubt Firefox nicht, diese Seite anzuzeigen, wenn sie in eine andere Seite eingebettet ist).

Nach einiger Suche fand ich dann die Info, dass nur in /lib/public/AppFramework/Http/ContentSecurityPolicy.php
die Domain im Bereich

        protected $allowedFrameAncestors = [
                '\'self\'',
                'meine-iFrame-domain.tld',
                '*.meine-iFrame-domain.tld',

];

Mit diesen zwel Einträgen wird die Domain und alle Subdomains zugelassen.

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Target Image