Example to demonstrate PDF.js library usage with advertisement viewer optimized for mobile usage.
Build using npm install
and run npm start
to start a web server.
You can then work with the mobile viewer at
http://localhost:3000/.
Refer to viewer.js
and adv.js
for the source code of the mobile viewer and advertisement.