[英]link opens PDF on iPhone but not on laptop
I'm working on a simple project at Codepen , mostly links and Bootstrap modals. 我正在Codepen上进行一个简单的项目,主要是链接和Bootstrap模态。 My link
<a href="https://www.lcps.org/cms/lib/VA01000195/Centricity/Domain/4/2018-19%20teacher%20calendar.pdf" target="_blank">Teacher Calendar</a>
opens the PDF on both Safari and Chrome on the iPhone, but not on my Macbook (OSX El Capitan v. 10.11.6). 我的链接
<a href="https://www.lcps.org/cms/lib/VA01000195/Centricity/Domain/4/2018-19%20teacher%20calendar.pdf" target="_blank">Teacher Calendar</a>
在iPhone的Safari和Chrome上都打开PDF,但在我的Macbook上却不打开(OSX El Capitan v。10.11.6)。 I can, however, open the same website on the laptop directly from a Google search. 但是,我可以直接通过Google搜索在笔记本电脑上打开相同的网站。 Is there a fix to the html that can solve this?
是否有可以解决此问题的html修补程序?
It looks like a file name problem, change the filename of your pdf removing the white spaces. 似乎是文件名问题,请更改pdf的文件名,删除空格。 if this doesn't solve your problem, try to compress the pdf.
如果这样不能解决您的问题,请尝试压缩pdf。
Good luck. 祝好运。
UPDATE: I believe the PDF is protected for hot-links you might never make it work. 更新:我相信PDF受热链接的保护,您可能永远无法使它工作。 you better upload it in your own hosting.
您最好将其上传到自己的托管中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.