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 » 07 Apr 2021, 18:58

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: 43759
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem with preview option

Post by Jan » 11 Apr 2021, 18:55

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: 43759
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem with preview option

Post by Jan » 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
If you find Phoca extensions useful, please support the project

christine
Phoca Hero
Phoca Hero
Posts: 2163
Joined: 28 Nov 2010, 17:20

Re: problem with preview option

Post by christine » 11 Apr 2021, 19:42

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