How could I use PDF.js with web2py?

147 views Asked by At

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?

0

There are 0 answers