Use HTML5 to display PDF files if users don't have pdf plugin for their browsers.
Thanks to pdf.js project by Mozilla.
With this module you can use pdf.js to display PDF file all the time or only use pdf.js when visitors don't have pdf reader plugin.
How to install pdf.js
Download pre-built pdf.js from here and extract is into your Drupal libraries directory (Drupal 8 uses /libraries instead of /sites/all/libraries). The folder in your libraries folder must be named to pdf.js. Make sure your directory structure like this:
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Content Construction Kit (CCK), File Management, Media
- Reported installs: 9,188 sites currently report using this module. View usage statistics.
- Downloads: 51,849
- Last modified: 9 March 2016
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.