0
How do view PDF online ? Such as displaying PDF from Google Drive . Visible on any device
3 ответов
+ 3
Well, you can use pdf.js by Mozilla. It will open pdf on html webpage with help of JavaScript. Here from GitHub
https://github.com/mozilla/pdf.js
a small example of it.
https://github.com/mozilla/pdf.js/tree/master/examples/helloworld
+ 1
the page you see at Google drive etc while viewing PDF is not in .PDF it is generated by its server with all the menus etc as Aditya said using
libraries
thanks Aditya for sharing link
0
You are need to use some plugins. For example, PDF viewer for WordPress.