I have added embedded pdf but only first page is displayed in chrome and safari mobile. I need your help.
< iframe src="soz.pdf"
frameborder="0" id="myiframe" style="height:100%; width:100%;">
—this is my code
I have added embedded pdf but only first page is displayed in chrome and safari mobile. I need your help.
< iframe src="soz.pdf"
frameborder="0" id="myiframe" style="height:100%; width:100%;">
—this is my code
2
Answers
I don’t think much is likely to have changed for the past few years so
Adobe response is
Workaround:
These links can be opened by appending /default/connect.pdf
Example https://my.adobeconnect.com/px0fs4dlnp3o/ can be loaded fully by using https://my.adobeconnect.com/px0fs4dlnp3o/default/connect.pdf
other older suggestions here
Problems displaying PDF in iFrame on Mobile Safari
Most common answer from others is, hand your precious data to google analytics, ensure you use
?embedded=true&url=
https://drive.google.com/viewerng/viewer?embedded=true&url=https://pdfobject.com/pdf/sample-3pp.pdf
I found a work a workaround for that, we can use the following link:
http://docs.google.com/gview?url=${url}&embedded=true
,for example: