Used this plugin from Mozilla pdf.js
Added option to view the pdf in a ability way.
Initially this plugin will load full version of pdf viewer options.
you can control the viewer options by setting on the element.
NOTE: TRY TO USE THE LATEST VERSION IN YOUR BUBBLE APP.
PROVIDING INPUT PDF FILE MUST HAVE "https:" / "http:"
example:
https://s3.amazonaws.com/appforest_uf/f1560838061966x378592593345474370/compressed.tracemonkey-pldi-09.pdfOR
https://pdfwork.cdn.bubble.io/f1560838061966x378592593345474370/compressed.tracemonkey-pldi-09.pdf