How do I embed the Extension into my web application?
We recommend using Dynamic Embedding, which allows the browser to download/stream the file, and then the Extension automatically opens it.
For more information, please refer to the following section:
For a live demo website that demonstrates how to embed the Extension, please refer to the following link:
https://www.blackice.com/chromeExtension/iframeDynamic.html
Furthermore, the IceViewer Extension supports opening files without downloading, using native JavaScript XHR (XMLHttpRequest) responses.
This means that if you fetch a TIFF or PDF document using XHR (XMLHttpRequest or jQuery Ajax), the extension can open the document automatically, even if it’s embedded in an iframe. For more information about how to open files without downloading, please refer to the following section:
