zego-express-docsview-electron

2.11.0 • Public • Published

Prerequisites

  1. Electron 5.x.x
  2. node.js - windows 32-bit or macOS 64-bit

Installation

npm install zego-express-docsview-electron

Quick Start

Create a ZEGO account and get AppID and AppSign required for SDK initialization at ZEGO management console

// init sdk
const ZegoExpressDocs = window.require('zego-express-docsview-electron')
const zegoExpressDocs = new ZegoExpressDocs({
    appID,
    appSign, // Array
    dataFolder,
    cacheFolder,
    logFolder,
    isTestEnv
});
// create Docsview
let docView = zegoExpressDocs.createView(parentID);

Resources

  1. Doc Center - See more docs about zego-express-docsview-electron

ChangeLog

v1.23.0

Update:

  • In view of the problem that the source of onUpload event and onLoadFile event cannot be distinguished when the interface is called concurrently, the uploadFile and loadFile interfaces are reconstructed, and interface callbacks are added.

  • In response to the problem that dynamic PPT resources cannot be loaded in a weak network environment, a timeout retry mechanism has been added.

v1.22.0

  • When uploading the file, add check whether the file suffix name exists or not, and error code 2020009 will be thrown.
  • When uploading files, when the rendering mode type ZegoDocsViewRenderType does not meet the platform requirements, the error code 2010003 will be thrown in onError.

fix:

  • Fix the problem that the left and right keys of dynamic PPT file skip incorrectly.
  • Fix the problem that stopPlay can't stop the audio

Update:

v1.21.0

Add:

  • Added the thumbnail definition setting function, which supports setting the thumbnail definition.

Update:

  • Added file transcoding error code.

v1.20.0

Add:

  • Added support for H5 file type Upload H5 files through the uploadH5File interface.
  • Added the function of preloading dynamic PPT and H5 files. Through the cacheFile interface, dynamic PPT and H5 files can be preloaded and cached locally to improve the speed of loading and displaying files. Please contact ZEGO technical support to enable this function.

Update:

  • Optimize PDF empty file check.
  • Optimize the drawing of PDF file dividing line.
  • Optimize the display of the view hierarchy when multiple files are loaded at the same time.
  • Add the following error codes.

v1.19.0

Update:

  • Optimize dynamic PPT permission control

v1.17.0

fix:

  • fix fileName error
  • fix upload local file error

0.16.0

update:

  • update setConfig - DynamicPPTHD
  • Optimize the display clarity of static files on the HD screen
  • Automatically switch the backup CDN when file loading timeout or failure
  • Support HEIC format file upload

fix:

  • Solve the problem of incorrect rendering and filling mode of PDF files converted from PPT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.11.0
    0
    • latest

Version History

Package Sidebar

Install

npm i zego-express-docsview-electron

Weekly Downloads

0

Version

2.11.0

License

ISC

Unpacked Size

41 MB

Total Files

16

Last publish

Collaborators

  • zegodev