Integration
Update Time:2021-02-09 14:36
1 Prerequisites
2 Compatibility Description
Since different browsers have different web support, the browser versions currently supported by the SDK are as follows:
Platform |
Browser/Webview |
Remarks |
Windows |
Chrome |
Support win7 and above |
macOS |
Chrome |
Support macOS 10.10 and above |
iOS |
Safari |
Support iOS 10.0 and above |
iOS |
WeChat Embedded Browser |
Support iOS 10.0 and above |
Android |
Chrome |
Support Android 8.0 and above |
Android |
WeChat Embedded Browser |
Support Android 8.0 and above |
3 Download and Install SDK
3.1 Download SDK from Official Website
Please download the SDK from ZegoExpressDocs.
For historical version updates, please check Release History.
3.2 npm Download SDK
npm i zego-express-docsview-web
The npm download package supports typescript language (recommended).
4 Integrate SDK
Can be imported directly using script,
<script src="ZegoExpressDocs.js"></script>
or
import {ZegoExpressDocs} from'zego-express-docsview-web';
// or
const ZegoExpressDocs = require('zego-express-docsview-web').ZegoExpressDocs;