WebViewer报错Error loading document: Invalid XOD file: Zip end header data is wrong size!
错误:Error loading document: Invalid XOD file: Zip end header data is wrong size!
解决:https://groups.google.com/forum/#!topic/pdfnet-webviewer/f-mdkNRsEbI
streaming = true azureWorkaround = false
function initViewer(url){ var viewerElement = document.getElementById('preview'); window.myWebViewer = new PDFTron.WebViewer({ type: "html5", path: "/static/webviewer/lib", initialDoc: url, //azureWorkaround: false, config: "/static/webviewer/config.js", documentId: "webviewer_developer_guide", enableAnnotations: false, streaming: true }, viewerElement); }