Closed hamid80386 closed 11 years ago
The helloworld example is not the main PDF viewer. You should build pdf.js and use build/web/viewer.html instead. You can change it so it loads a different PDF file than default.
How can I build pdf.js?
what is easy instalation instruction for beginner web developer that know only a little about HTML & Javascript & PHP? ;-)
PDF.js is written as a Firefox and Chrome extension, so there's no specific instructions on how to use the code for custom viewers.
The wiki pages have some information on how to use the build system, but generally speaking, you need node.js installed and then you want to load a cmd/shell prompt at the folder where pdf.js is, and run node make web
.
Closing as answered
hi, i have problem by hello world example i have a network by many client & i want when a client click to the hyperlink that point to a pdf file, file certailnly load in browser by pdf.js & not download or show in acrobat X extension, but pdf file in some client load in browser in pdf.js and in some borwser go to download by download manager & in some browser load in Acrobat X... :(
i only extract pdf.js and copy the root folder in the my http server (Wamp Server)
for example client need to use this address for view pdf:
http://192.168.2.90:8080/pdf-js/example/helloworld/index.html
i dont want client need to install any extension for this on browser manually, it must install on their browser automatically when they come in portal...
what is solution?