我在服务器中存储了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容器),所以我想知道是否有人可以帮我解决这个问题。谢谢