Question

Learners cannot view beyond the first page of a PDF document via HTML pages when using an iPad

  • 30 May 2022
  • 1 reply
  • 844 views

Userlevel 2
Badge

We have several users that do not have their own laptops, so we provide iPads for them to use to access Docebo.

In several courses, we have policies that we require the learners to read, which consist of PDF links provided via iFrame using an HTML page activity. However, we have found that if the PDF consists of multiple pages, the learners can only view the first page via the iFrame when viewing it on the iPads.

Does anyone know of a solution that would allow the learners to scroll through all of the pages of the PDF via the HTML page using an iPad?

Thank you


1 reply

Userlevel 7
Badge +8

hi @abaumgard not sure if this is what you need to add to your iFrame:

[advanced_iframe securitykey="your key" use_shortcode_attributes_only="true" src="//www.xxxxxx.php" height="300" width="600" enable_ios_mobile_scolling="true" scrolling="yes"]

or some version of this...think the key is the “enable scrolling” tag

OR it could be a little more complex...if you search the web there are tons of articles on this subject…e.g.:

https://stackoverflow.com/questions/58963055/iframe-pdf-scroll-not-visible-in-ios-devices-iphone-ipad

Reply