How to open pdf files inside chrome?

I am using nodejs and chromium for my desktop application. The problem is that I can not open PDF files in chrome. So I googled and found that most of the answers are related to the mozplugger plugin. I installed the plugin as indicated in the following link:

http://www.tootips.com/2013/01/how-to-open-pdf-files-inside-chromium.html

Now I get the error message: " Mozplugger: M4 parsed generated generated error " when I try to open a pdf file in chrome. How can I solve this error?

Please help me!

+5
source share
5 answers

Linux , mozplugger PDF . mozplugger ( : http://www.tootips.com/2013/01/how-to-open-pdf-files-inside-chromium.html, http://mozplugger.mozdev.org/), .

PDF-, acrobat (http://www.adobe.com/in/products/reader.html), pdf PDF viewer (: http://code.google.com/p/chromium/wiki/ChromiumBrowserVsGoogleChrome).

- pdf node.js, script.

node.js:

$ npm install open

:

var open = require('open');
open('http://www.google.com', function (err) {
  if (err) throw err;
  console.log('The user closed the browser');
});

: nodejs URL-

+2

Ask Ubunutu , , Chrome PDF Chromium.

Chrome PDF, , , Chromium. Chrome symlink , , Chrome, Chromium. , Chromium Chrome, .

+7

PDFjs javascript?

https://github.com/mozilla/pdf.js

, , , .

+4

Google: ExtensionDocs PDF/PowerPoint Viewer, docx, ppt, rar .

+1

Google , Google Chrome PDF Viewer . , Chromium Chromium OS Chrome PDF - !

. - PDFium https://code.google.com/p/pdfium/

0

All Articles