Copy const options = {
pages : [
{
src : "book1/1.jpg" ,
thumb : "book1/thumb1.jpg" ,
htmlContent : '<div>test</div>'
} ,
...
]
}
new Flipbook (container , options)
Copy htmlContent: '< a href = "https://real3dflipbook.com" style = "position: absolute; top: 100px; left: 100px; color: red; font-size: 20px;" >Real3D Flipbook</ a >'
Copy htmlContent: '< video class = "flipbook-page-item" playsinline = "" loop = "" autoplay = "" muted = "" style = "top:313px;left:40px;width:230px;height:128px;" >< source type = "video/mp4" src = "https://real3dflipbook.com/wp-content/uploads/2020/03/interior_design.mp4" ></ video >'
Copy htmlContent: '< iframe class = "flipbook-page-item" src = "https://www.youtube.com/embed/Cv1W4nzxPBM" style = "top:454px;left:43px;width:226px;height:126px;" frameborder = "0" allow = "accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen = "" ></ iframe >'
Copy htmlContent: '< a class = "flipbook-page-item flipbook-page-item-link internalLink" href = "#" data-page = "4" style = "width: 406px; height: 128px; position: absolute; top: 312px; left: 285px;" ></ a >'
Copy htmlContent: '< a class = "flipbook-page-item flipbook-page-item-link" href = "https://real3dflipbook.com/" target = "_blank" style = "width: 206px; height: 40px; position: absolute; top: 893px; left: 64px;" ></ a >'
It is possible to add multiple elements, basically any HTML content can be added to pages.
The height of the HTML page overlay is 1000px.