temporary attempt at debugging video
This commit is contained in:
parent
623d9a0f9a
commit
8f3cc0b8f6
1 changed files with 4 additions and 2 deletions
|
@ -6,10 +6,12 @@
|
||||||
<title><%= filename %></title>
|
<title><%= filename %></title>
|
||||||
|
|
||||||
<meta property="og:title" content="<%= filename %>" />
|
<meta property="og:title" content="<%= filename %>" />
|
||||||
<meta property="og:description" content="Just a file..." />
|
|
||||||
<meta property="og:site_name" content="hippoz.xyz" />
|
|
||||||
|
|
||||||
<% if (fileType !== 'file') { %>
|
<% if (fileType !== 'file') { %>
|
||||||
|
<% if (fileType === 'video' || fileType === 'image') { %>
|
||||||
|
<meta property="og:<%= fileType %>:width" content="640" />
|
||||||
|
<meta property="og:<%= fileType %>:height" content="426" />
|
||||||
|
<% } %>
|
||||||
<meta property="og:<%= fileType %>" content="<%= fileUrl %>" />
|
<meta property="og:<%= fileType %>" content="<%= fileUrl %>" />
|
||||||
<meta property="og:<%= fileType %>:type" content="<%= mimeType %>" />
|
<meta property="og:<%= fileType %>:type" content="<%= mimeType %>" />
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
Loading…
Reference in a new issue