problem with preview option

Phoca Download - download manager
bajawebmaster
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 30 Jan 2021, 01:24

Re: problem with preview option

Post by bajawebmaster »

Hello. It gives the same result. You can see the video in the following link if "yes (load bootstrap library)" is selected
https://bajawebmaster.com/sutcecytebcs/ ... option.mp4
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem with preview option

Post by Jan »

Hi, I see, your template uses BS4 version.

Try following:

Don't load BS from Phoca Download.
Image
(set yes to use BS output, but not to load library)

The same in themes
Image


It seems, like the mobile version of CSS has some problems with object tag (object tag loads the PDF in modal)

Please check in different browsers:

I can display it OK in firefox:
Image

but not in chrome:
Image (on standard view yes, not on mobile view)

Please let me know if you can see it in different browsers, so we can then focus on the chrome only.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem with preview option

Post by Jan »

This looks like this problem:
https://stackoverflow.com/questions/396 ... ile-chrome

And it looks like there is no solution for mobile Chrome :-(

Jan
If you find Phoca extensions useful, please support the project
christine
Phoca Hero
Phoca Hero
Posts: 2723
Joined: 28 Nov 2010, 17:20

Re: problem with preview option

Post by christine »

Hi,
Jan wrote: 11 Apr 2021, 18:59 This looks like this problem:
https://stackoverflow.com/questions/396 ... ile-chrome

And it looks like there is no solution for mobile Chrome :-(

Jan
Maybe one could try to install for mobile-chrome: https://chrome.google.com/webstore/deta ... ge=1&hl=de

https://github.com/mozilla/pdf.js/wiki/ ... tension%29

Kind regards
Christine
Post Reply