Use HTML5 to display PDF files instead of ask for installing plugins to your browser.
使用HTML 5显示文件而不要求安装插件到你的浏览器。
Demo:
演 示:
Getting started
入 门
1.Use git (recommended because pdf.js is under active development) to check out pdf.js from
使用Git (因为pdf.js正在积极发展建议)检查出pdf.js
https://github.com/mozilla/pdf.js to DRUPAL_HOME/sites/all/libraries/.
2.OR download v0.1.0.zip from
或者从以下链接下载v0.1.0.zip
and extract pdf.js directory to
然后提取pdf.js目录到
DRUPAL_HOME/sites/all/libraries/.
3.Make pdf.js file in the pdf.js/build directory by following the README. ((WARNING: pdf.js is a large file! Consider minifying it.
在pdf.js pdf.js文件/目录建立后的README自述???/根据README文件将 pdf.js/里的pdf.js的pdf.js建立目录???【这句Howfar翻译的挺垃圾,发挥你的聪明才智自己理解】。 ((警告: pdf.js是一个大的文件!考虑消减它 !
4.enable pdf module and create a file field and there are two option to display PDF file in the field display setting.
启用PDF模块,然后创建一个file field,有两个字段(field)显示设置选项,以显示PDF文件。
Road map
线路图
Seeking co-maintainer
Because I'm not a master about HTML5, JS and CSS and this module needs many front end works, if you want more advance features, please consider to be the co-maintainer.
Project Information
Downloads
-------------------------------------------------------------------------
抱歉,翻译的太汗颜了