Skip to main content
Participant
June 4, 2013
Answered

How to publish a PDF on web and force download/display-offline (i.e. not to show in browser viewer)

  • June 4, 2013
  • 1 reply
  • 962 views

Attempting to publish a PDF on the web, I cannot get embedded SWF banners to play in the browser viewer, while they work fine offline (see Query in other posting http://forums.adobe.com/message/5376442#5376442, for which I'd appreciate feedback as well).

See my PDF here: https://www.dropbox.com/s/lg2zzgho5qn6b61/Regiobrandingatelier%20%28ve rsie%202%29.pdf

To work-around I could also force users to download the PDF to display offline, as opposed to viewing it in the browser window, but how do I do that?

Thanks in advance for any help received.

Kind regards,

Robert

This topic has been closed for replies.
Correct answer Dave Merchant
  1. The display of Rich Media Annotations depends on the rendering software; many browsers have their own PDF display tools (Firefox, Chrome, etc) which have no support for RMAs and Flash, so your file's rendition is ultimately at the mercy of whether your consumers will install Adobe Reader, and if their browser has taken charge of the PDF file format. You can't influence that, nor can you realistically even detect it.
  2. Making a PDF file (or any other) show a download/save prompt rather than being displayed inline is done by sending extra HTTP headers (setting a Content-Disposition entry). That requires changes on the webserver, either with direct configuration of the server (via an .htaccess file) or by delivering the PDF file through a wrapper program in PHP, ASP etc. that adds the extra headers. Nothing about the file itself will change how it's served.

1 reply

Dave MerchantCorrect answer
Legend
June 4, 2013
  1. The display of Rich Media Annotations depends on the rendering software; many browsers have their own PDF display tools (Firefox, Chrome, etc) which have no support for RMAs and Flash, so your file's rendition is ultimately at the mercy of whether your consumers will install Adobe Reader, and if their browser has taken charge of the PDF file format. You can't influence that, nor can you realistically even detect it.
  2. Making a PDF file (or any other) show a download/save prompt rather than being displayed inline is done by sending extra HTTP headers (setting a Content-Disposition entry). That requires changes on the webserver, either with direct configuration of the server (via an .htaccess file) or by delivering the PDF file through a wrapper program in PHP, ASP etc. that adds the extra headers. Nothing about the file itself will change how it's served.
GoversRAuthor
Participant
June 4, 2013

THANKS Dave