I have a set of webpages that display pdf file pages using a php display page. Everything works on computer browsers, but on tablets (iPad) and phones the page loads but does not display the pdf. The line of code that displays the pdf looks like this:
echo '<object data="pdf/' . $fn . '.pdf" width="1000px" height="1300px"></object>';
The $fn variable is passed via a cookie from one page to the next. There doesn’t seem to be anything else wrong with the page, leaving me to wonder if the problem is an issue with the object tag, but I don’t understand why.
This can be viewed from the page at https://bullittcountyhistory.org/bcgensoc/wr/a.html if you select one of the links like the 4-61 link for William Aban (or any other one as well).
Any help will be appreciated.