Compare Video Annotation Tools

Hello johanne.ongchangco,

The annotations for WebViewer video are disabled for compare videos by default. You can enable them by using the following code snippet:

await videoInstance.UI.enableCompareMode();
      instance.UI.enableFeatures(instance.UI.Feature.Annotations);
      instance.Core.annotationManager.disableReadOnlyMode();
      instance.UI.enableElements(['notesPanel']);

I’ve tested it, and it worked fine with the following versions (also 10.7.1 looked fine)

"@pdftron/webviewer": "10.6",
    "@pdftron/webviewer-audio": "^2.21.7",
    "@pdftron/webviewer-video": "^4.35.7",

However, if you encounter any bugs, please let us know and we will take a look into it.

1 Like