For the complete documentation index, see llms.txt. This page is also available as Markdown.

Open Videos using JavaScript

New licenses for WebViewer Video are no longer offered.

HTML5 Videos can be loaded into WebViewer with use of the @pdftron/webviewer-video package.

Install

Below is a sample setup of the video package with webviewer.

initializeVideoViewer is called to give WebViewer the ability to handle the loading of video files. Afterwards, a video can be loaded with loadVideo. Lastly settings to customize the behavior of the controls can be passed in when calling initializeVideoViewer.

Last updated

Was this helpful?