From 2bf014361835385355c670ed5be1d5ae26021228 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Fri, 18 Dec 2015 11:27:27 -0600 Subject: [PATCH] Updated Viewer options (mediawiki) --- Viewer-options.mediawiki | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Viewer-options.mediawiki b/Viewer-options.mediawiki index b748204..0f8593d 100644 --- a/Viewer-options.mediawiki +++ b/Viewer-options.mediawiki @@ -11,4 +11,4 @@ Example: http://mozilla.github.io/pdf.js/web/viewer.html#page=2 ===Options after the ?=== Example: http://mozilla.github.io/pdf.js/web/viewer.html?file=myfile.pdf -* file: the filename of the PDF file to use (must be on the same server due to JavaScript limitations). Example: file=myfile.pdf \ No newline at end of file +* file: the path of the PDF file to use (must be on the same server due to JavaScript limitations). Please notice that the path/URL must be encoded using encodeURIComponent(). Example: /web/viewer.html?file=%2Fmyfiles%2Ffile.pdf \ No newline at end of file