-
Notifications
You must be signed in to change notification settings - Fork 0
/
embed.ejs
47 lines (47 loc) · 2.94 KB
/
embed.ejs
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
<!DOCTYPE html>
<html lang="en" style="background-color: #000000">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><%= name %> (<%= size %>) - f.hxnrycz.xyz</title>
<meta property="al:android:url" content="<%= url %>" />
<meta property="al:android:app_name" content="<%= name %> [ <%= size %> ]" />
<meta property="al:android:package" content="com.img.mobile" />
<meta property="al:ios:url" content="<%= url %>" />
<meta property="al:ios:app_name" content="<%= name %> [ <%= size %> ]" />
<meta property="al:web:url" content="<%= url %>" />
<meta property="og:type" content="website" />
<meta property="og:description" content="Uploaded at <%= uDate %>" />
<meta property="og:<%= what %>" content="<%= url %>" />
<meta name="theme-color" content="#000">
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="<%= name %> [ <%= size %> ]" />
<meta name="twitter:description" content="Uploaded at <%= uDate %>" />
<meta name="twitter:<%= what %>:src" content="<%= url %>" />
<meta name="twitter:<%= what %>:height" content="630" />
<meta name="twitter:<%= what %>:width" content="1200" />
</head>
<body><br><br><br><br><br>
<center>
<div class="card" style="color: white;">
<div class="rest">
<% if (type === "video/mp4") { %>
<video controls style='background-color: #2c2c2c;border-radius: 10px;' height='384px'><source src='<%= url %>' type='video/mp4'>Your browser does not support HTML5 video.</video>
<% } else if (type === "video/avi") { %>
<video controls style='background-color: #2c2c2c;border-radius: 10px;' height='384px'><source src='<%= url %>' type='video/avi'>Your browser does not support HTML5 video.</video>
<% } else if (type === "audio/mpeg") { %>
<audio controls style='background-color: #2c2c2c;border-radius: 10px;' height='512px'><source src='<%= url %>' type='audio/mpeg'>Your browser does not support HTML5 audio.</audio>
<% } else { %>
<img src="<%= url %>" style="background-color: #2c2c2c;border-radius: 10px;" height="512px">
<% } %>
<h4>Upload Date: <span style="color: white"><%= uDate %></span></h4>
<h4>Raw Link: <a href="<%= url %>" style="color: white;text-decoration: none;" target="_blank"><%= url %></a></h4>
<h4>File Name: <span style="color: white;"><%= name %></span></h4>
<h4>File Size: <span style="color: white;"><%= size %></span></h4>
<h4>File Type: <span style="color: white;"><%= type %></span></h4>
</div>
</div>
</center>
</body>
</html>