用户登录
用户注册

分享至

如何在 iframe 中查看 Google Drive pdf 链接

  • 作者: Ldiay67208768
  • 来源: 51数据库
  • 2022-10-25

问题描述

我需要查看嵌入 google drive 链接的 pdf 文件并在 iframe 中查看链接.

I need to view pdf file embed with google drive link and view link in 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"  />
软件
前端设计
程序设计
Java相关