reactjs - In browser pdf viewer not working with React App -


my web app contains many links various pdf files stored in amazon s3. when click on these links, pdf file downloaded though in browser, default, pdf viewer enabled. if install third party pdf viewer, fixes problem, don't want users have install extension.

i tried adding each pdf link google docs pdf viewer url, because these s3 pdf files protected bucket policy, doesn't work. 100% sure default pdf viewer enabled correctly, works other pdfs on internet.

has run bizarre problem? fix pdf.js? pretty sure source of problem due pdf files being uploaded s3 using http requests , not via s3 client, still have no idea how fix this.

i able upload pdf.js s3 bucket , concatenate viewer.html pdf links on apps, can view pdfs in browser without having extension


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -