https://pdfflipbook.vercel.app - Demo
Check the pdf if using the link Make sure that cross-origin resource sharing is enabled
This flipbook plugin is jQuery-based. Basically, you can copy the files in folder to your working directory. You don't need to include the lib folder..
lib/
├── css/
│ ├── min.css
│ └── themify-icons.css
│
├── fonts/
│ ├── themify.eot
│ ├── themify.svg
│ ├── themify.ttf
│ └── themify.woff
│
├── images/
│ └── loading.gif
|
├── sound/
│ └── turn2.mp3
│
└── js/
├── flip.js
└── libs/
├── jquery.min.js
├── pdf.min.js
├── pdf.worker.min.js
├── three.min.js
└── mockup.min.js
And ensure the following files are included in the html.
<!-- Flipbook StyleSheet -->
<link href="http://www.yoursite.com/lib/css/min.css" rel="stylesheet" type="text/css">
<!-- Icons Stylesheet -->
<link href="http://www.yoursite.com/lib/css/themify-icons.css" rel="stylesheet" type="text css">
Note: Include them just before tag. Don't use them in head.
<!-- jQuery 1.9.1 or above -->
<script src="http://www.yoursite.com/lib/js/libs/jquery.min.js" type="text/javascript"></script>
<!-- Flipbook main Js file -->
<script src="http://www.yoursite.com/lib/js/flip.min.js" type="text/javascript"></script>
Basic HTML Template
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Basic HTML Template</title>
<!-- Flipbook StyleSheet -->
<link href="http://www.yoursite.com/lib/css/min.css" rel="stylesheet" type="text/css">
<!-- Icons Stylesheet -->
<link href="http://www.yoursite.com/lib/css/themify-icons.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="_df_thumb" id="df_manual_thumb" source="location of pdf.pdf" thumb="location of thumbnail.jpg"> PDF Example</div >
<!-- Refer to other examples on how to create different types of flipbook -->
<!-- jQuery 1.9.1 or above -->
<script src="http://www.yoursite.com/lib/js/libs/jquery.min.js" type="text/javascript"></script>
<!-- Flipbook main Js file -->
<script src="http://www.yoursite.com/lib/js/flip.min.js" type="text/javascript"></script>
</body>
</html>
Create Flipbook through Button lightbox.
<div class="_df_button"
source="http://www.yoursite.com/file.pdf"
id="df_manual_button">
Button
</div>