php如何实现在线阅读pdf文件

WBOY
Release: 2016-06-13 11:09:37
Original
879 people have browsed it

php怎么实现在线阅读pdf文件?
我在做个小网站,其中要在线看pdf文件(杂志),文件大小不一,有的有15M左右,有的4M左右,请问这个怎么实现?麻烦大家给点建议,有最好了,谢谢各位了,急用啊。
------解决方案--------------------
HTML


JS
pdfobject.js

均需要浏览者安装有 Adobe Reader



------解决方案--------------------
为了更好地用户体验,建议你前端采用 FlexPaper在线显示文档组件来显示你的文档,先用PDF2SWF工具将你的pdf转成flash文件,然后用 FlexPaper来显示转换后的swf文件,这样用户浏览速度会很快,就像百度文库那样!
------解决方案--------------------
pdfobject.js 用比较强的控制能力

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template