我需要查看嵌入了谷歌驱动器链接的 pdf 文件并在 iframe 中查看链接。
我试过以下代码:
<iframe src="https://drive.google.com/viewerng/viewer?url=https://library.osu.edu/assets/Documents/SEL/QuickConvertWordPDF.pdf" width="400px" height="300px" />
提前谢谢..
最佳答案
试试这个..
<iframe src="https://drive.google.com/viewerng/viewer?
url=https://library.osu.edu/assets/Documents/SEL/QuickConvertWordPDF.pdf?
pid=explorer&efh=false&a=v&chrome=false&embedded=true" width="400px" height="300px" />
关于html - 如何在 iframe 中查看 Google drive pdf 链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27685943/