Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Page items

Flipbook page can have array of items. Item can be video, audio, image, link, iframe and youtube. Here is an example

const options = {
    pages: [
        {
            src: "book1/1.jpg", 
            thumb: "book1/thumb1.jpg", 
            items: [
                { type: 'video', x: 40, y: 313, width: 230, height: 128, url: 'https://real3dflipbook.com/wp-content/uploads/2020/03/interior_design.mp4'},
                { type: 'youtube', x: 43, y: 45, width: 220, height: 126, url: 'https://www.youtube.com/embed/Cv1W4nzxPBM'}
            ]
        },
        ...
    ]
}

new Flipbook(container, options) 

Available Items are video, iframe, youtube, image, image, audio, link. Here are examples

Video

{ type: 'video', x: 40, y: 313, width: 230, height: 128, url: 'https://real3dflipbook.com/wp-content/uploads/2020/03/interior_design.mp4' }

Youtube

Iframe

Image

Audio

Last updated