Hi All,
I’ve got some code (from the community code bank) that displays PDFs by converting them to a .pdf.html page.
This works fine on iOS, but fails to display on Android.
Has anybody got any ideas why?
I’ve attached the lua file in .txt format and the code for the HTML transformation is below.
Any help with this would be really really appreciated
\<!DOCTYPE HTML\> \<html\> \<head\> \<title\>\</title\> \<meta name="viewport" content="width=device-width; initial-scale=0.5; maximum-scale=2.0; minimum-scale=0.8; user-scalable=1;" /\> \</head\> \<body style="padding-top:50px;"\> \<object data="##pdf\_file\_name##" type="application/pdf" width="100%" height="##html\_obj\_height##"\> alt : \<a href="##pdf\_file\_name##"\>##pdf\_file\_name##\</a\> \</object\> \</body\> \</html\>