0

I am not able to show the PDF Help file from my web app to the following smart phones: Android - it just shows an Open button and clicking on does nothing iOS (iPad or iPhone) - only show the first page of the pdf.

It works fine from Windows 10. Is there something I am overlooking?

Here is the code:

   <?php

        define('ROOT_PATH',dirname(dirname(__FILE__)));

        define('URL_PATH',"/CMS_Public_2/");


            $help_file="Documentation/CMS_Documentation.pdf";

            $documentation_file_path= URL_PATH.$help_file;


         
   echo <<<_END

       <html>
            <meta name="viewport" content="width=device-width, initial-scale=1">

        </html>

             <embed src=$documentation_file_path type="application/pdf" width="100%" height="900px" />
    _END;
  ?>
Jack Stein
  • 123
  • 1
  • 14

1 Answers1

0

After a bit of searching I found the following post How To Embed Google Drive Document (PDF) In Blogger Post? and I tried a test of the proposed solution that addresses all the issues I had on iPad, iPhone and Android devices when running the same web application that runs on Windows and shows the PDF Help File.

Jack Stein
  • 123
  • 1
  • 14