Skip navigation
sseeger1
Currently Being Moderated

Internet Explorer ONLY passes parameters to Adobe Reader plugin for hosted files, not local

May 3, 2012 7:10 AM

Tags: #acrobat #html #plugin #internet-explorer

WORKS:

<embed src="http://host.com/test.pdf#page=5"/>

FAILS:

<embed src="test.pdf#page=5"/>

Both code snippets above work when the HTML file is hosted (IIS / Apache).  My web-app needs to be able to run from a USB memory stick and work with IE9.  The #page param is required for a core feature of the app.

 

Parameters after the # are passed correctly to the Adobe Reader plugin in Firefox for offline files, eg: file:///C:/test.htm.  The documentation only describes hosted examples: http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open _parameters.pdf

 

I have tried the <object> route as well with similar results, eg: http://pdfobject.com/

 

I have burned over 8 hours looking for a solution. I have tried any logical settings in Adobe Reader X, and with the security zones in IE.  I am not very familiar with IE security zones, but I suspect it could be related to my issue.  I can specify the end-user change any browser or plugin settings as an acceptable solution.

 
Replies
  • Currently Being Moderated
    May 3, 2012 11:36 AM   in reply to sseeger1

    PDF is media.   Your IE is doing this on local media for security reasons. 

    http://windows.microsoft.com/en-us/windows-vista/Change-Internet-Explo rer-Security-settings

     

    That said, it's better if you don't embed PDF into web pages.  Not everyone has the necessary plug-ins for their browser/devices.  Some people (myself included), prefer to  open PDFs in Acrobat Pro instead of our browsers.  If you embed your PDFs in a web page, people like me will never see them.

     

    A much safer approach is to insert a small screenshot with a direct link to the PDF file. Your site visitors can decide for themselves how to handle the file. That's how Adobe does it.

    http://www.adobe.com/manufacturing/3dpdfsamples/3dsolutions/

     

     

    Nancy O.

    Alt-Web Design & Publishing

    Web | Graphics | Print | Media  Specialists

    http://alt-web.com/

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points