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!
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-
Ask Ubunutu , , Chrome PDF Chromium.
Ask Ubunutu
Chrome PDF, , , Chromium. Chrome symlink , , Chrome, Chromium. , Chromium Chrome, .
PDFjs javascript?
https://github.com/mozilla/pdf.js
, , , .
Google: ExtensionDocs PDF/PowerPoint Viewer, docx, ppt, rar .
Google , Google Chrome PDF Viewer . , Chromium Chromium OS Chrome PDF - !
. - PDFium https://code.google.com/p/pdfium/