简体   繁体   English

在Chrome浏览器中显示3D Pdf

[英]Displaying 3D Pdf in Chrome browser

I've need to display a 3D Pdf file on my web page. 我需要在网页上显示3D Pdf文件。 So now I'm trying to do it like a simple pdf. 因此,现在我正尝试像简单的pdf一样进行操作。

<object type="application/pdf" data="Pdf/MyFile.pdf" width="500" height="500"></object>

Also I've try this: 我也尝试过这个:

<iframe src="Pdf/MyFile.pdf" style="width:600px; height:500px;" frameborder="0"></iframe>

The proble is with Chrome browser. 问题出在Chrome浏览器上。 Chrome doesn't display the content of the file(Opera works fine). Chrome不会显示文件的内容(Opera可以正常运行)。 Also if I use simple pdf without 3d model it display in Chrome correctly. 另外,如果我使用不带3d模型的简单pdf,则会在Chrome中正确显示。

What can I do to displat 3D pdf in Chrome to? 如何在Chrome浏览器中将3D pdf展示到?

您可以使用以下语法在浏览器上查看pdf:

 <object type="application/pdf" data="MyFile.pdf" width="500" height="500"></object>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM