javascript - Pdf.js: load file from url like "index.php?userid=4&fileid=7" -
i'm trying load pdf file server pdf.js
. file not served directly streamed in url like: index.php?userid=4&fileid=7
. if put url in browser correctly download or view file browser's plugin, backend on server fine.
i've set default_url
variable in viewer.js
index.php?userid=4&fileid=7
script seems parse query string leaving index.php file (page title displayed index.php
only). i've tried encodeuricomponent()
no avail
.
i tried kinds of values using viewer.html?file=
method without success.
do guys have clue if can done? i'm not js expert. in advance.
Comments
Post a Comment