Hi guys,
with the latest release of WebViewer we found that it is no longer possible to embed the viewer via iframe into a page of different origin in Safari.
It seems that this only affects the Safari browser, we did not see other browsers behaving this way in our tests.
For demonstration purposes i prepared a simple CodePen snipped that embeds the WebViewer Showcase in an iframe.
It loads perfectly fine in Chrome but fails to load in Safari:
Following errors are thrown:
SecurityError (DOM Exception 18): IDBFactory.open() called in an invalid security context
ReferenceError: Can't find variable: Modernizr
We actually need this iframe around the viewer as it is currently the only way to load the viewer in a page of different origin as discussed here:
Could you please look into this issue? Thanks.