确定你用对了 PDFObject 了吗? Create a container to hold your PDF <div id="example1"></div> 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> You can optionally use CSS to specify visual styling, including dimensions, border, margins, etc. <style> .pdfobject-container { height: 500px;} .pdfobject { border: 1px solid #666; } </style>
确定你用对了 PDFObject 了吗?