Intelligent Media Management offers two document preview versions: V1 and V2. This topic describes the main differences between them. Document Preview V1 is no longer updated or maintained. We recommend that you use Document Preview V2.
This document is no longer maintained. We recommend that you use the new version of Intelligent Media Management.
For a comparison of the new and old versions of Intelligent Media Management, see Usage guide for new and old versions.
For more information about document processing in the new version of Intelligent Media Management, see Document processing.
How it works
Version | Description |
Document Preview V1 | Document Preview V1 converts an input document to the VECTOR format. It then uses the frontend rendering engine from Intelligent Media Management to create a user-friendly and customizable preview. For more information, see How it works. |
Document Preview V2 | Document Preview V2 gets the document URL and AccessToken. You do not need to specify an iframe element. A JS file automatically generates an iframe under a custom block element. The JS file then sets the AccessToken to quickly create the document preview. For more information, see How it works. |
Preview methods
Version | Description |
Document Preview V1 | The Intelligent Media Management preview engine supports two methods: URL parameter preview and JavaScript API preview. The URL parameter method is simpler. The JavaScript API method provides more configuration options. Choose the method that fits your scenario. For more information, see Comparison of preview methods. |
Document Preview V2 | Call the GenerateWebofficeToken API to get the collaboration URL. Use the JS-SDK to mount the preview URL to an HTML block element and set the AccessToken. A JS file automatically generates an iframe under the custom block element and sets the AccessToken to quickly create the document preview. For more information, see Preview flow. |
Supported features
Item | Document Preview V1 | Document Preview V2 | Description |
Page customization | Not supported | Support | Use the page customization feature in Document Preview V2 to add, hide, or enable components. For more information, see Page customization overview. |
Add watermarks | Supported (frontend) | Supported |
|
User information | Not supported | Support | Call the GenerateWebofficeToken API in Document Preview V2 and configure the |
User permissions | Not supported | Supported | Call the GenerateWebofficeToken API in Document Preview V2 and configure the |
Document configuration
Version | Description |
Document Preview V1 | Document Preview V1 supports copying text, scaling content without aliasing, and configuring custom ads. For more information, see Quick Start. |
Document Preview V2 | Document Preview V2 supports custom configurations, such as event listeners and various document-related settings. For more information, see Custom configurations. |