Updated Frequently Asked Questions (markdown)

Yury Delendik 2015-05-22 06:46:11 -05:00
parent 4827d7df3a
commit af469953d0

@ -16,7 +16,7 @@
<a name="file"></a>
## Can I specify a different PDF in the default viewer?
You can modify the `DEFAULT_URL` variable in the `web/viewer.js` file or you can append the `?file=` query string to the viewer URL, e.g. `http://mozilla.github.com/pdf.js/web/viewer.html?file=compressed.tracemonkey-pldi-09.pdf`.
You can modify the `DEFAULT_URL` variable in the `web/viewer.js` file or you can append the `?file=` query string to the viewer URL, e.g. `http://mozilla.github.com/pdf.js/web/viewer.html?file=compressed.tracemonkey-pldi-09.pdf`. In the latter case, the PDF path/URL must be encoded using encodeURIComponent().
<a name="faq-xhr"></a>
## Can I load a PDF from another server (cross domain request)?