add a note about what configurations are supported re: third party embedding

This commit is contained in:
ansuz 2022-02-18 16:13:47 +05:30
parent 0917b45035
commit aaa00216d4
1 changed files with 7 additions and 0 deletions

View File

@ -1024,6 +1024,13 @@ define([
});
});
/* Only two use-cases are currently supported:
1. remote embedding is enabled, and fully permissive
2. remote embedding is disabled, so media-tags can only be loaded on your instance
Support for selectively enabling embedding on remote sites is far more complicated
and will need funding.
*/
assert(function (cb, msg) {
var header = 'Access-Control-Allow-Origin';
Tools.common_xhr('/', function (xhr) {