网页中嵌入 PDF 兼容 Safari

Hi,

 

Yes it is a bug with Safari on Big Sur, it's working after removing the attribute:

type='application/pdf'

Seems fine for other browsers without the type attribute...

 

<object id="pdfEmbed" class="pdfviewer"></object>

posted on 2021-10-29 14:44  xiaogezi  阅读(84)  评论(0编辑  收藏  举报

导航