3D FlipBook - How to disable zoom on scroll, and enable sound

a***w@oxwebdevelopment.com.au
2025-01-24
2025-01-24

Hi there,

I have purchased the plugin from you. Thank you. I have integrated the plugin into my theme, loading the PDF via an ACF Pro field :)

Seen here: https://rf4f.com.au/digital-magazine/summer-edition-2024-2025/

Two issues. One, how can I disable the zoom that is happening on scroll? See here: https://rf4f.com.au/zooming-on-scroll.gif

My page template code is:

https://rf4f.com.au/code.png

Also, I do not hear the sounds when flipping the pages, but I do when using this site's examples. How can I get the sounds to work?

Kind regards,

Andrew

Replies

a***w@oxwebdevelopment.com.au
2025-01-24
2025-01-24

Replaced pasted code with a screenshot https://rf4f.com.au/code.png

a***w@oxwebdevelopment.com.au
2025-01-28
2025-01-28

Some support please.

a***r@3dflipbook.net
2025-01-29
2025-01-29

Hi, It should look like this:

$('#container').FlipBook({
  pdf: 'books/pdf/FoxitPdfSdk.pdf',
  controlsProps: {
    downloadURL: 'books/pdf/FoxitPdfSdk.pdf',
    actions: {
      mouseCmdWheelZoom: {
        enabled: false,
      },
    }
  },
  template: {
    html: 'templates/default-book-view.html',
    styles: [
      'css/short-white-book-view.css'
    ],
    links: [
      {
        rel: 'stylesheet',
        href: 'css/font-awesome.min.css'
      }
    ],
    script: 'js/default-book-view.js',
    sounds: {
      startFlip: 'sounds/start-flip.mp3',
      endFlip: 'sounds/end-flip.mp3'
    }
  }
});
a***w@oxwebdevelopment.com.au
2025-02-01
2025-02-01

Thank you that worked.

a***w@oxwebdevelopment.com.au
2025-02-02
2025-02-02

How can I make the flipbook open in the lightbox please?

a***r@3dflipbook.net
2025-02-04
2025-02-04

Download the free version - there is a code example.

Log In to leave a comment