operasoftware / pdf.js

PDF Reader in JavaScript
Apache License 2.0
20 stars 4 forks source link

Unable to show embedded PDF files #19

Open steinim opened 10 years ago

steinim commented 10 years ago

Embedded PDF files does not seem to work with pdf.js in Opera on Mac (I have not tested other OSes).

Test: http://plugindoc.mozdev.org/testpages/pdf.html http://acroeng.adobe.com/wp/?page_id=161

Rob--W commented 10 years ago

Currently, the only supported embedded PDFs are those in frames or <embed> tags with type="application/pdf" (though future support for the latter is not certain because of https://code.google.com/p/chromium/issues/detail?id=333318).

<object> tags are not (yet) supported, and <embed> tags without specified MIME-type is not supported either, both because of technical constraints.

timvandermeij commented 10 years ago

Fixed in https://github.com/mozilla/pdf.js/pull/4549.