PdfViewer under MacOS / Safari

0
0

Hi,

If I view our Application under MacOS with Safari the integrated PdfViewer doesn´t show the buttonbar for print and save the pdf.

What is the reason of that behavior? If I user firefox under MacOS the buttons are shown.

Thanks

Dirk

 

  • You must to post comments
0
0

Hi Dirk,
I forgot to mention that you can’t use the viewers (other than “auto”) from localhost.
The application must be deployed to a publicly-accessible URL.
The PdfViewer, when set to Google or Mozilla, registers a callback URL that asks the Wisej application for the given PDF document (but this can’t be accessed when running from localhost).
This is an example of how it works:
Google
https://docs.google.com/viewer?url=https://wisej.com/wp-content/uploads/2020/06/Wisej-datasheet-10012020.pdf
Mozilla
https://mozilla.github.io/pdf.js/web/viewer.html?file=https://wisej.com/wp-content/uploads/2020/06/Wisej-datasheet-10012020.pdf

HTH,
Levie

  • You must to post comments
0
0

Hi Levie,

I had test it before my message. Google doesn´t work under Windows (Firefox, Edge) and Mac (Safari), message “no preview available”. Mozilla doesn´t work under Safari (Buttonbar is visible, PDF is not shown). The question is: Is it a browser specific behavior or a problem of WiseJ Pdf Viewer? We will not use a custom one but we have user with Mac…

Thanks
Dirk

  • You must to post comments
0
0

Hi Dirk,
The PDFViewer control uses the built-in viewer for the given browser.
https://docs.wisej.com/docs/controls/content/pdfviewer
You can change it to a specific viewer or provide your own custom one (i.e. PDF.js). See the above link.

HTH,
Levie

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.