最近的一个项目要实现手机打开服务端PDF文件。我测试的时候打开本地PDF都没成功。发现pdfproject.js中hasGeneric函数中的plugin=null。即使我安装了Adobe Acrobat都是这样。有大神遇到类似问题吗?用的ios8做的测试。小白一个,求大神搭救。
<script type="text/javascript">
alert(1);
window.onload = function (){
alert(2);
var success = new PDFObject({ url:"E:/touchscreen/imageManager/1438309659058.pdf" }).embed("pdf");
};
alert(3);
</script>页面上2弹出来了,然后并没有显示,这个东西不靠谱.