Pdf.js and viewer.js. Pass a stream or blob to the viewer
问题 I\'m having troubles in finding a solution for this: I retrieve a PDF blob from a SQL filestream field using Javascript in this way (it\'s a lightswitch project) var blob = new Blob([screen.WebReportsPdfFilesStream.selectedItem.Pdf], { type: \"application/pdf;base64\" }); I have the blob and I can even convert it in a filestream or to base64(\"JVBERi0.....\" or \"%PDF 1.6 ......\", etc.) No problem so far. Now I need to display it in a viewer. I prefer the viewer to open in a new window but i