使用js文件
js文件下载链接:https://github.com/pipwerks/PDFObject/
样例:

1. Create a container to hold your PDF
<div id="example1"></div>
2. Tell PDFObject which PDF to embed, and where to embed it
<script src="/js/pdfobject.js"></script>
<script>PDFObject.embed("/pdf/sample-3pp.pdf", "#example1");</script>