Watermark visible with valid license

Which product are you using?
PDF.js Express Viewer

PDF.js Express Version
|UI version|‘8.7.0’|
|Core version|‘8.7.5’|
|webviewer.min.js|‘8.7.5’|

Detailed description of issue
I tried to add express viewer to magento 2.4. Which shows the pdf correctly. But the watermark is still visible. Even with a valid license key. Can be checked here here. Just click the button ‘inkijkexemplaar’

Expected behaviour
Show pdf without watermark

Does your issue happen with every document, or just one?
Yes!

Link to document

Code snippet

<div class="exov-pdf-preview-link">
    <a data-trigger="exov-pdf-preview-trigger" href="javascript:void(0);">Inkijkexemplaar</a>
</div>
<div class="exov-pdf-preview-wrapper" data-bind="
    mageInit: {
        'Magento_Ui/js/modal/modal':{
            type: 'popup',
            title: 'Inkijkexemplaar',
            trigger: '[data-trigger=exov-pdf-preview-trigger]',
            buttons: [],
            responsive: true
        }
    }" style="display:none;">
    <div id="pdf-express-viewer" style="width:100%; height:80vh;"></div>
</div>

<script type="text/javascript">
    require(['jquery', 'webviewer'], function ($) {

        WebViewer({
            path: '<?= $block->getViewFileUrl("Examenoverzicht_ProductPdfPreview::pdfjsexpress/") ?>',
            initialDoc: "https://pdftron.s3.amazonaws.com/downloads/pl/webviewer-demo.pdf",
            licenseKey: '<?php echo $block->getLicenseKey() ?>',
        }, document.getElementById('pdf-express-viewer'))
            .then(function (instance) {
                
            });
    });
</script>

Hello Nick,

Can you confirm the root domain this key is assigned to? PDF.js Express license keys will only work on a single domain and any of its subdomains.

License Key zQZwJ9l7rXJBY8ASO5lF Domain exovtest.nl

Thanks for your reply, i added a screenshot of what is visible in chrome. Also see the license key as it is shown under licenses.

Hello Nick,

I saw that you are setting display: none on your viewer element. This could be causing an issue with the viewer. We recommend using visibility: hidden or setting the heigh and width to 0. Try removing display: none and see if that makes a difference first.

Thanks for your reply. Are you sure this is the viewer element. The only i frame i could find with this inline styling is part of googles tag manager. I also could not found any display:none regarding pdfjs. Could you clarify where you found this?