File Sharing
  • iOS
  • Android
  • Web : JavaScript
  • Electron
  • Windows
  • macOS
  • Overview
  • SDK Downloads
  • Demo APP
  • Sample Codes
  • Access Guide
  • Quick Starts
  • Scene Practices
  • Advanced Features
  • Error Codes
  • Server API
  • Documentation
  • File Sharing
  • SDK Downloads
  • Release Notes

Release Notes

Last updated:2022-03-22 13:07

Version 1.23.0

Release Date: 2021-07-20

Enhancements

Optimization item Optimization Description Related interfaces
Optimized dynamic file weak network loading In response to the problem that dynamic PPT resources cannot be loaded in a weak network environment, a timeout retry mechanism has been added. -
Optimize the file callback mechanism In view of the problem that the onUpload event and the onLoadFile event source cannot be distinguished when the interface is called concurrently, the uploadFile and loadFile interfaces are refactored, and the interface callback is added.

Version 1.22.0

Release Date: 2021-07-06

Enhancements

Optimization item Optimization Description Related interfaces
Verify file mode type When uploading files, when the rendering mode type ZegoDocsViewRenderType does not meet the platform requirements, the Error Codes 2010003 will be thrown in onError. ZegoDocsViewErrorUnsupportRenderType
Check the file suffix name When uploading the file, add the check file suffix to see if it exists. If it does not exist, the Error Codes 2020009 will be thrown. ZegoDocsViewErrorConvertFileTypeInvalid

Bug Fixes

This version fixes the following issues:

  1. Fix the problem that the left and right keys of dynamic PPT file skip incorrectly.
  2. Fix the problem that stopPlay cannot stop Audio.

Version 1.21.0

Release date: 2021-05-31

New Features

New Features Description Related Interface
Added thumbnail definition setting function Support setting thumbnail definition. setConfig

Enhancements

Enhancements Description Related Interface
File transcoding added Error Codes

During dynamic PPT transcoding,

  • If it contains elements that cannot be processed by the transcoding system, Error Codes 2020008 will be thrown.
  • If you simply detect that the file format is illegal, the Error Codes 2020009 will be thrown.

Version 1.20.0

Release date: 2021-04-29

New Features

New Features Description Related Interface
Add support for H5 file type Upload H5 files through the uploadH5File interface. uploadH5File
Added the function of pre-loading dynamic PPT and H5 files Dynamic PPT and H5 files can be pre-loaded and cached locally through the cacheFile interface, which improves the speed of loading and displaying files. Please contact ZEGO technical support to enable this function. cacheFile

Enhancements

Enhancements Description Related Interface
PDF file optimization Optimize PDF empty file check. -
PDF file optimization Optimize PDF file dividing line drawing. -
Optimize file display Optimize the display of the view hierarchy when multiple files are loaded at the same time. -
New Error Codes
  • 2030014: This file is not supported for preloading, please contact ZEGO technical support.
  • 2030015: Preloading failed.
  • 2030017: Invalid H5 file, which does not conform to the H5 file specification defined by ZEGO.
-

Version 1.19.0

Release date: 2021-03-25

Enhancements

Enhancements Description Related Interface
PPT optimize the dynamic access Controller when used in conjunction with Collaborative Whiteboard, optimize the dynamic PPT file to switch pages, Controller switching step privileges. -

Version 1.18.0

Release date: 2021-03-04

New Features

New Features Description Related Interface
Add the function of canceling uploading files Support interrupting uploading during file uploading. cancelUploadFile
New Error Codes 2020007

The source file is in read-only mode. This Error Codes will be reported in the following situations.

  • The dynamic PPT file is set to read-only mode, which will cause the transcoding to fail.
  • The dynamic PPT file contains fonts that are not supported by the transcoding server, which will cause the transcoding to fail.
-
New Error Codes 2030010 If the file does not exist, the file transcoding will fail, and this Error Codes will be reported. ZegoDocsViewError

Enhancements

Enhancements Description Related Interface
Interface optimization Optimize the performance of uploadFile interface, renderType is ZegoDocsViewRenderTypeIMG. uploadFile

Bug Fixes

This version fixes the problem of incorrect page number calculation for alien files.

Version 1.17.0

Release date: 2021-02-04

New Features

New Features Description Related Interface
Added file whiteboard snapshot function This function supports saving files and graphic element annotation content as pictures, which needs to be used with ZegoWhiteboardView SDK. -

Bug Fixes

This version fixes the problem that some files cannot be displayed when the file is enlarged to 3 times the size.

Version 1.16.0

Release date: 2021-01-21

Enhancements

Enhancements Description Related Interface
Optimize the definition Optimize the display definition of static files on the high-definition screen. -
Optimize file loading logic When loading a file overtime or fails, the SDK automatically switches to the backup node to reload the file to ensure that the file can be loaded normally. -

Bug Fixes

This version fixes the problem of incorrect rendering and filling mode of PDF files converted from PPT.

Version 1.15.0

Release date: 2021-01-07

Bug Fixes

This version fixes the following issues:

  1. Fix the problem that flipPage skips pages without skipping when using the File Sharing SDK alone.
  2. Fix the problem that calling resetVisibleSize at the bottom of the document will cause the browser to crash.

Version 1.14.0

Release date: 2020-12-24

Enhancements

Enhancements Description Related Interface
Optimize the interactive experience Optimize the scene where the file content fails to load, and render the default placeholder image when the load fails to improve the interactive experience. -
Optimize interactive experience Optimize the strategy of preloading file content when scrolling the view, which can perform pre-rendering faster and improve the interactive experience. -
Optimize internal log Optimize internal log reporting, add more detailed logs. -

Bug Fixes

This version fixes the following issues:

  1. Fix the problem that the display position is abnormal when the small image exceeds the size of the container.
  2. Fix the problem that the number of steps jumps abnormally after switching dynamic PPT files.
  3. Fix the problem that the step count of single-page dynamic PPT file jumps abnormally.
  4. Fix the problem that part of the content of loaded static files is not displayed in Safari. .
  5. Fix the problem that some content of PDF, DOC, DOCX file call scrollTo interface scrolling is not displayed.

Version 1.13.0

Release date: 2020-12-07

New Features

New Features Description Related Interface
Add loading animation Add loading animation during file download rendering. -
New event synchronization function Newly added dynamic PPT anchor page cut page click event synchronization function. -

Enhancements

Enhancements Description Related Interface
Optimize the file height calculation method Optimize the file height calculation method to ensure that the height of the canvas is consistent with the total height of the file. -
Optimize the load retry mechanism Optimize the retry mechanism of dynamic PPT related resource loading failure. -

Bug Fixes

This version fixes the following issues:

  1. Fix the problem that scrollTo is invalid before file rendering is completed.
  2. Fix the problem that the drawable area of canvas is not rendered in time after the container size changes.
  3. Fix the occasional issue that the style of the progress bar of the dynamic PPT internal Video is abnormal.
  4. Fix the problem that the dynamic PPT animation is out of order when it is executed in sequence.

Version 1.12.0

Release date: 2020-11-19

New Features

New Features Description Related Interface
Add Trigger Configuration Add a configuration for whether a step change will trigger a page change. setConfig
Added to disable copying and dragging of dynamic PPT pictures Added whether to disable copying and dragging effects of dynamic PPT pictures. setConfig
Added PPT transcoding definition setting Added whether to improve the dynamic PPT transcoding definition. setConfig
New dynamic PPT pause Video playback function Pause the Video playback of a certain page of dynamic PPT file. stopPlay
New DOM events Monitor dynamic PPT DOM events. addDOMEventListener

Bug Fixes

This version fixes the following issues:

  1. Fix the problem that the size of the file view does not change after the size of the parent container is changed.
  2. Fix the overlap problem when some documents have no background color.
  3. Fix the invalid problem of setConfig setting domain name.
  4. Optimize the uploadFile upload file to check the size of the file content.

Version 1.11.0

Release date: 2020-11-02

New Features

New Features Description Related Interface
Add dynamic PPT to play animation function - playAnimation
Newly added monitoring method Newly added monitoring method of event type onPlayAnimation, the callback generated when an element with animation effect is clicked, is only valid for dynamic PPT. on

Version 1.10.1

Release date: 2020-09-30

Bug Fixes

This version fixes the following issues:

  1. Fix the onUpload callback error message when the file upload fails.
  2. Fix the bug of the callback error of the dynamic PPT step count.
  3. Fix the bug of callback error in multiple file containers on the same page.

Version 1.10.0

Release date: 2020-09-28

Bug Fixes

This version fixes issues related to dynamic PPT zoom, page cut, and step jump.

Version 1.9.0

Release date: 2020-09-07

New Features

New Features Description Related Interface
Add the function of obtaining thumbnail list Get a list of file thumbnails. getThumbnailUrlList

Version 1.8.0

Release Date: 2020-08-18

New Features

New Features Description Related Interface
Added the function of obtaining PPT remarks information The remarks added in the PPT file can be obtained through this interface. getPPTNotes

Bug Fixes

This version fixes the known problems of dynamic PPT.

Page Directory