HTML5 Videos can be loaded into WebViewer with use of the @pdftron/webviewer-video package.
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
.
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales