Base64 embedded pdf working in chrome 12 but not in firefox 5

15,522

Chrome is capable to render simple PDFs itself, it does not require Adobe Reader Plugin. You should check whether the Adobe Reader plugin is properly working in Firefox.

Share:
15,522
Joe
Author by

Joe

Updated on June 04, 2022

Comments

  • Joe
    Joe almost 2 years

    I´m trying to embed a base64 encoded pdf within an html object:

    <object data="data:application/pdf;base64,JVBERi0..." type="application/pdf" width="100%" height="100%"></object>
    

    Same code works fine in chrome 12 but not in firefox 5. In firefox, reader plugin seems to be loaded ok, because I can see something like a loading progress bar. I´m using reader 10 plugin.

    Any suggestion would be greatly appreciated.

    Thanks in advance.