logo
On this page

After loading a dynamic PPT file, clicking on the dynamic PPT cannot turn the page. How to handle this?

2022-11-17
Products / Plugins:Interactive whiteboard / File sharing
Platform / Framework:All

Problem Cause

The click page turn setting is not enabled.

Solution

Taking the web platform as an example:

// Import ZegoExpressDocs SDK
import { ZegoExpressDocs } from 'zego-express-docsview-web';

/**
* Initialize ZegoExpressDocs SDK
* @param appID: Application ID issued by ZEGO for developers, please apply from ZEGO Management Console
* @param token: token
* @param userID: userID
*/
const zegoExpressDocs = new ZegoExpressDocs({appID, token, userID});

/** Set dynamic PPT step page turn mode
* When set to 1, it represents the default mode, normal previous step and next step
* When set to 2, it means when the first step in the page executes the previous step, it does not jump, and when the last step in the page executes the next step, it does not jump.
*/
zegoExpressDocs.setConfig('pptStepMode', 1);

Previous

How to get the CDN stream playing address on the Web platform?

Next

How to implement screenshot functionality for preview and play stream video on Web platform?

On this page

Back to top