SEBSERV-342 added newest webSDK version and cross origin headers
https://devsupport.zoom.us/hc/en-us/articles/360060333111-How-to-embed-Zoom-into-a-website
This commit is contained in:
parent
fa23debf4c
commit
d12c58367c
2 changed files with 8 additions and 4 deletions
|
@ -136,10 +136,14 @@ public class RAPConfiguration implements ApplicationConfiguration {
|
|||
}
|
||||
}
|
||||
|
||||
// https://developer.chrome.com/blog/enabling-shared-array-buffer/#cross-origin-isolation
|
||||
public static final void setCORS(final HttpServletResponse resp) {
|
||||
resp.addHeader("Access-Control-Allow-Origin", "*");
|
||||
resp.setHeader("Access-Control-Allow-Methods", "GET");
|
||||
resp.setHeader("Vary", "Origin");
|
||||
// resp.addHeader("Access-Control-Allow-Origin", "*");
|
||||
// resp.setHeader("Access-Control-Allow-Methods", "GET");
|
||||
// resp.setHeader("Vary", "Origin");
|
||||
|
||||
resp.addHeader("Cross-Origin-Embedder-Policy", "require-corp");
|
||||
resp.addHeader("Cross-Origin-Opener-Policy", "same-origin");
|
||||
}
|
||||
|
||||
public static final class RAPSpringEntryPointFactory implements EntryPointFactory {
|
||||
|
|
|
@ -38,7 +38,7 @@ sebserver.gui.webservice.edx-lms-enabled=true
|
|||
sebserver.gui.webservice.moodle-lms-enabled=true
|
||||
sebserver.gui.seb.client.config.download.filename=SEBServerSettings.seb
|
||||
sebserver.gui.seb.exam.config.download.filename=SEBExamSettings.seb
|
||||
sebserver.gui.proctoring.zoom.websdk.version=1.9.8
|
||||
sebserver.gui.proctoring.zoom.websdk.version=2.8.0
|
||||
sebserver.gui.filter.date.from.years=2
|
||||
|
||||
# remote proctoring
|
||||
|
|
Loading…
Reference in a new issue