I’ll coming back with this problem on firefox V71
And I’m still with webix version 6.10
I changed webix.cdn to absolute path but webix still load from cdn.webix.com and pdf’s will not be shown and pdf.worker.min.js has no response ;-(
My code is:
// pdfObject is pdfviewer object
window.loadPdf = function(obj, model, pdfObject){
‘use strict’;
console.log(webix.cdn);
webix.ajax().response(‘arraybuffer’).post(’/documents/loadPdf’,{obj:obj, model:model},function(){
}).then(function(data){
//console.log(data);
pdfObject.parse({data:data});
pdfObject.setMasterScale(1);
});
return pdfObject;
};
Works on IE and Chrome even on Safari (both on Windows and Mac)… !
Please for help to figure this out.
Thank you
Michael