with web2py, if I have a blob field defined as follows:
Field('pdf','upload', uploadfield='pdf_file'), Field('pdf_file', 'blob')
How could I use PDF.js (https://github.com/mozilla/pdf.js/) to display the file?
with web2py, if I have a blob field defined as follows:
Field('pdf','upload', uploadfield='pdf_file'), Field('pdf_file', 'blob')
How could I use PDF.js (https://github.com/mozilla/pdf.js/) to display the file?