0

我想在博客中显示 pdf url(例如: http: //www.newforests.net/wp-content/uploads/2011/01/sample_pdf.pdf)而不在谷歌文档中上传。

如果我在 google docs 中上传相同的 pdf 并且如果我在 post html 中提供嵌入链接作为

<iframe height="500" src="https://drive.google.com/file/d/0B-A9jsNhASM9VmRra3J6WTZmZVU/edit?usp=sharing" width="750"></iframe>

我可以在博客中看到 pdf 文件。它工作正常。同样,我想在博客中显示带有定义的服务器 url 的 pdf 文件,而不在驱动器中上传 pdf 文件。谁能帮我?

4

1 回答 1

0

用您自己的 pdf 替换 Google Drive pdf 应该可以:

<iframe height="500" 
src="http://www.newforests.net/wp-content/uploads/2011/01/sample_pdf.pdf" 
width="750"></iframe>
于 2014-08-25T09:18:20.893 回答