-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.html
66 lines (62 loc) · 2.44 KB
/
demo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TweetX Video Player Demo</title>
<meta name="description" content="TweetX Video Player - A Twitter/X UI HTML5 Video Player">
<meta property="og:title" content="TweetX Video Player Demo">
<meta property="og:description" content="TweetX Video Player - A Twitter/X UI HTML5 Video Player">
<meta property="og:image" content="https://bit.ly/bbsampleposter">
<meta property="og:url" content="https://sh20raj.github.io/TweetX/">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@sh20raj">
<meta name="twitter:title" content="TweetX Video Player Demo">
<meta name="twitter:description" content="TweetX Video Player - A Twitter/X UI HTML5 Video Player">
<meta name="twitter:image" content="https://bit.ly/bbsampleposter">
<!-- Link to the TweetX CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/SH20RAJ/TweetX/TweetX.min.css">
<style>
/* Additional styles for the demo */
body {
font-family: Arial, sans-serif;
margin: 20px;
}
.container {
max-width: 800px;
margin: 0 auto;
}
h1 {
text-align: center;
}
.footer {
margin-top: 20px;
text-align: center;
font-size: 14px;
}
.footer a {
color: hotpink;
text-decoration: none;
}
</style>
</head>
<body>
<div class="container">
<h1>TweetX - Twitter like Video Player Demo</h1>
<div class="video-container">
<!-- TweetX Twitter video player -->
<video tabindex="-1" data-video="" allowfullscreen="false" controlslist="nodownload" class="tweetx" poster="https://bit.ly/bbsampleposter" title="TweetX">
<!-- Replace the source URL with your own video URL -->
<source src="https://bit.ly/bbsamplevideo" type="video/mp4">
</video>
</div>
</div>
<!-- Link to the TweetX JavaScript -->
<script src="https://cdn.jsdelivr.net/gh/SH20RAJ/TweetX@master/TweetX.min.js" defer></script>
<div class="footer">
<p>View the <a href="https://github.com/SH20RAJ/TweetX" target="_blank">TweetX GitHub Repository</a> || <a href="https://codepen.io/SH20RAJ/pen/mdgqprw?editors=1011" target="_blank">TweetX Codepen</a></p>
<p>Developed by <a href="https://github.com/SH20RAJ" target="_blank">@SH20RAJ</a></p>
</div>
</body>
</html>