Owncloud embedding in a page on a other domain

modifications

#1

It is in this time not possible to embed collabora office in the learning management system MOODLE. Alternative I intend to embed owncloud-10-docker with collabora-docker plugin in moodle. Moodle has a plugin for owncloud fileaccess. Owncloud is in my domain, but moodle in a other. So X-Frame-Options: SAMEORIGIN prevent embedding. X-Frame-Options: ALLOW-FROM https://moodle.cc/ ignored in .htaccess. I think SAMEORIGIN is hardcoded. What can I do in this case?


How can I embed owncloud to my webpage
#2

The same holds for any kind of content from ownCloud embedded in Moodle, esp. images or test downloads in the filepicker. Sadly I don’t know the solution to this, but I am curious as well. Is there something that can be changed in ownCloud to allow particular domains (i.e. Moodle) to embed content from an ownCloud instance?