Closed kelson42 closed 7 months ago
It's an issue with the in-browser (Webkit for iOS) PDF reader that doesn't exposes those controls in the kiwix-serve iframe. It works as expected on the /content/
endpoint.
Might be worth investigating an upstream (libkiwix) bug but I think it's reasonnable to fix here with target="blank"
as well.
After some investigation, it appears to be a limitation of Webkit's bundled PDF viewer. Internally, the browser replaces the PDF with an <img />
tag containing the first page.
In the mean time, let's open all resources on new tabs (target blank) as this has been recommended anyway.
I can display any PDF first page:
… but when I swap down, nothing happens… I’m stuck at the first page.
Remark: not problem with Kiwix iOS.