Php 当我从s3 bucket中获取文件时,我可以在html页面中下载,但无法查看pdf文件
我想使用iframe/embed标记在html中查看S3 bucket中的pdf文件 我在iframe标签中得到了结果 src=”http://docs.google.com/gview?url=/path 到文件/filename.pdf&embedded=true“style=“宽度:600px;高度:500px;”frameborder=“0”Php 当我从s3 bucket中获取文件时,我可以在html页面中下载,但无法查看pdf文件,php,amazon-s3,Php,Amazon S3,我想使用iframe/embed标记在html中查看S3 bucket中的pdf文件 我在iframe标签中得到了结果 src=”http://docs.google.com/gview?url=/path 到文件/filename.pdf&embedded=true“style=“宽度:600px;高度:500px;”frameborder=“0”