如何在pdf.js的viewer.html中打开pdf文件?

时间:2015-04-17 18:59:53

标签: cordova pdf pdf.js

我在服务器中存储了pdf文件,并且我想在我工作的cordova应用程序中打开它们。 为此,我已经从https://mozilla.github.io/pdf.js/getting_started/下载了文件,我只是添加了一个指向

的链接

/web/viewer.html?file = http://www.myservername.com/pdf/mypdf.pdf

根据how to implement pdf.js to view pdf files in the pdf viewer?

的建议

不幸的是它没有用(它打开一个空的pdf容器),所以我想知道是否有人可以帮我解决这个问题。谢谢

0 个答案:

没有答案