Support » Plugin: PDF Viewer & 3D PDF Flipbook - DearPDF Lite » Change Viewer Type

  • Resolved kosalasb

    (@kosalasb)


    Hi,

    I need to change the Viewer Type based on Mobile View and Desktop View for the same post.
    For Desktop ‘Viewer Type’ should be ‘WebGL 3D’ (Post initially create with this attribute) and for Mobile ‘Viewer Type’ should be ‘Vertical Reader’. This need to be done without creating a new post for the same file using ‘Viewer Type’ set to ‘Vertical Reader’. How to achieve this?

    Option Like this will be ideal;

    `= Start or open PDF viewer at certain page? =

    You can set the opening page of PDF viewer with shortcode:
    **[dearpdf id=”123″ data-page=”5″]**
    This will create your PDF viewer to open at page 5 when it starts.`

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter kosalasb

    (@kosalasb)

    Ex:
    **[dearpdf id=”123″ view-type=”flip″]**
    **[dearpdf id=”123″ view-type=”vertical″]**

    Plugin Author DearHive

    (@dearhive)

    Hi,
    Apologies for the delay, We didn’t get any notification on your post- We will look what is missing for notifications.

    That is not possible as of now. You can create two DearPDF posts. one for mobile and one for Desktop.
    **[dearpdf id=”122″]**
    **[dearpdf id=”123″]**

    Then use hide in mobile or show in mobile from Gutenberg blocks.
    https://editorskit.com/hide-wordpress-gutenberg-editor-blocks-on-mobile-devices/

    There should be similar structure if used in other builders too.

    Give those a try.
    Best Regards,
    DearHive

    Thread Starter kosalasb

    (@kosalasb)

    Hi @dearhive ,

    Thanks for the reply. While waiting for your reply I manage to achieve my requirement by adding 6 lines of code to your plugin.

    Added New Viewer Type
    Set the output on page depending on Viewer Type and Desktop or Mobile View.

    I’m very happy about this plugin and its viewing quality. Is there a way to increase the Zoom factor little more?

    best regards

    Kosalasb

    Plugin Author DearHive

    (@dearhive)

    Wow, that’s great!

    Best Regards,
    DearHive

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.