WebViewer PDF Lib URL problem

Which product are you using?
PDF.js Express Plus

PDF.js Express Version
8.7.1

Detailed description of issue
When trying to load a test pdf from azure storage blob, the server url is there.
image

Expected behaviour
It was working fine in an older version.

Does your issue happen with every document, or just one?
This is happening with the web viewer for all pdfs

Code snippet
WebViewer({
path: ‘…/lib’,
initialDoc:‘https://submittalappstg.azurewebsites.net/api/Home/download?bloburl=Update_d810adcf-fb46-41f0-9f0f-e2246cc86399.pdf’,
licenseKey: ‘irld89CMAcwPvMz4SJzz’,
}, this.viewer1.nativeElement).then(instance => {
debugger;
this.wvInstance = instance;
this.wvInstance.annotManager.setCurrentUser(this.user)
var files = this.dialogConfig && this.dialogConfig[‘pdfFiles’];
if (files && files.files && files.files.reorderIndexes) {
try {
let reorder = JSON.parse(files.files.reorderIndexes)
if (Array.isArray(reorder)) {
this.reorderData = files.reorderData = reorder
}
}
catch { }
}
this.createHeader(this.dialogConfig.config.previewUrl, files);
instance.setFitMode(‘FitWidth’)
instance.openElements([‘notesPanel’]);
instance.disableFeatures([instance.Feature.Print, instance.Feature.FilePicker]);
instance.disableElements([
‘menuButton’, /* for menu /
‘searchButton’, /
for search /
‘toolsButton’, /
full screen /
‘miscToolGroupButton’, /
stamp, attachment, callout /
‘stickyToolButton’, /
comment box /
‘signatureToolButton’, /
signature /
//‘zoomOverlayButton’, ‘zoomInButton’, ‘zoomOutButton’,
‘panToolButton’,/
hand /
‘viewControlsButton’, /
settings, page transition, layout, rotate /
‘selectToolButton’ /
big arrow */,
‘ellipseToolButton’,
‘arrowToolButton’,
‘polylineToolButton’,
‘polygonToolButton’,
‘cloudToolButton’,
‘freeHandToolButton2’,
‘freeHandToolButton3’,
‘freeHandToolButton4’,
‘highlightToolButton2’,
‘highlightToolButton3’,
‘highlightToolButton4’,
‘underlineToolButton’,
‘squigglyToolButton’,
‘strikeoutToolButton’,
‘outlinesPanelButton’,
‘documentControl’
]);

Hi there,

Thanks for reaching out to pdf.js express forums,

Could you please clarify your issue?

I just tested it with the above WebViewer constructor and was able to retrieve the PDF:

Best regards,
Kevin Kim