1- <!-- <!DOCTYPE html>
2- <html lang="en">
3-
4- <head>
5- <meta charset="UTF-8" />
6- <title>ImageKit Video Player Example</title>
7- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
8- <style>
9- body {
10- margin: 0;
11- padding: 0;
12- font-family: sans-serif;
13- background: #f0f0f0;
14- }
15- </style>
16- </head>
17-
18- <body>
19- <h1 style="display: flex; justify-content: center; width: 100%;">ImageKit Video Player Vanilla JS Example</h1>
20- <video id="video" class="video-js vjs-default-skin" controls preload="auto" width="960" height="540"></video>
21- <div style="height: 2000px; background: #e0e0e0; padding: 20px;">
22- <h2>Scroll Test Data</h2>
23- <p>
24- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore
25- magna aliqua.
26- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
27- </p>
28- <p>
29- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
30- Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
31- </p>
32- <p>
33- Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros
34- bibendum elit,
35- nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida.
36- </p>
37- <p>
38- Vivamus luctus egestas leo. Duis quis nunc. Nullam vel sem. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit
39- id, lorem.
40- Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus.
41- </p>
42- <p>
43- Quisque id odio. Praesent venenatis metus at tortor pulvinar varius. Integer tincidunt. Cras dapibus.
44- Vivamus elementum semper nisi. Aenean vulputate eleifend tellus.
45- </p>
46- </div>
47- <div style="height: 600px; width: full;">
48- <h1>ImageKit Video Player Example</h1>
49- <p>
50- This example demonstrates how to use the ImageKit Video Player with a playlist.
51- The player is initialized with a video and a playlist of products.
52- </p>
53- <div id="video-player-container" style="max-width: 960px; margin: 0 auto;"></div>
54- <p>
55- The player supports various actions such as seeking to a specific time in the video,
56- switching images on hover, and navigating to product pages on click.
57- </p>
58- <p>
59- The player is designed to be responsive and works well on different screen sizes.
60- You can customize the player styles and behavior as needed.
61- </p>
62- </div>
63- <script type="module" src="./src/playlist.ts"></script>
64- </body>
65-
66- </html> -->
67-
681<!DOCTYPE html>
692< html lang ="en ">
3+
704< head >
715 < meta charset ="UTF-8 " />
726 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
737 < title > ImageKit Video Player Examples</ title >
748 < link rel ="stylesheet " href ="src/style.css " />
759</ head >
10+
7611< body >
7712 < div class ="container ">
7813 < h1 > ImageKit Video Player Examples</ h1 >
@@ -86,8 +21,11 @@ <h1>ImageKit Video Player Examples</h1>
8621 < li > < a href ="pages/chapters.html "> Chapters</ a > </ li >
8722 < li > < a href ="pages/subtitles.html "> Subtitles</ a > </ li >
8823 < li > < a href ="pages/seek-thumbnails.html "> Seek thumbnails</ li >
24+ < li > < a href ="pages/abs.html "> ABS</ li >
8925 </ ul >
9026 </ nav >
9127 </ div >
28+ < script type ="module "> </ script >
9229</ body >
30+
9331</ html >
0 commit comments