function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Julia KolesnikJulia Kolesnik 

Issue in VF page with embeded pdf in mobile browsers

I have a problem with rendering pdf  documents using tag <object> in VF page in mobile browsers.

Please, look, this is code of VF page:

<apex:page id="thePage" controller="myctrl"  action="{!doAction}" cache="false">
<object type="{!attach.ContentType}" data="servlet/servlet.FileDownload?file={!fileId}" id="c">
</object>
</apex:page>

If i open this page in browsers in my PC - pdf is rendered successfully, but if i try to open this page in mobile broswers - i'm available to see only first page of pdf doc.

Did anybody solve this issue?

Thank you.