kkim
April 19, 2023, 3:58pm
3
Hi there,
Thank you for contacting pdf.js express forums,
Please note that in development mode (i.e. localhost) the watermark will always show up.
One common reason this happens is when you have different pdf.js packages (i.e. having both viewer and pro versions when you should only use one)
Which product are you using?
PDF.js Express Viewer
PDF.js Express Version
8.7
Detailed description of issue
When using the viewer in React and hosting the viewer static through Apache in the root directory, the watermarks will not go away. I also tried to host it through a Nodejs Express deployment and that didnt work either.
I verified that Im getting a 200 response on the call to auth.pdfjs.express , @pdftron/pdfjs-express-viewer is being used and the key being used is definitely setup on…
Which product are you using?
PDF.js Express Viewer
PDF.js Express Version
|UI version|‘8.3.2’|
|Core version|‘8.3.0’|
|Build|‘My8xNi8yMDIyfDJiMGM2Y2IyZA==’|
|WebViewer Server|false|
|Full API|false|
Detailed description of issue
Even though I entered the PdfJs.Express license key, the watermark in the docs still remains. What do I have to do to get the Watermaks remove?
Expected behaviour
{Provide a screenshot or description of the expected behaviour}
Does your issue happen with ever…
When loading the viewer under your domain, could you provide any console error messages if any? Here’s another forum post where it was solved via unblocking csp headers:
Which product are you using?
PDF.js Express Viewer
PDF.js Express Version
8.4.0
Detailed description of issue
Even though I have entered the correct key, the watermark is still displayed when running on the server.
It’s an angular application. I tried using @pdftron/pdfjs-express as well as @pdftron/pdfjs-express-viewer. In both cases, the watermark never disappears.
However, there are some differences.
@pdftron/pdfjs-express:
locally: PDF is displayed, watermark is displayed, no consol…
Best regards,
Kevin Kim
1 Like