add opengraph stuff

This commit is contained in:
biglyderv 2024-11-25 14:12:44 -05:00
parent 42aaebbd69
commit bde68d3797
14 changed files with 29 additions and 18 deletions

View file

@ -2,12 +2,16 @@
<html>
<head>
<meta charset="UTF-8">
<title>BiglyChat</title>
<meta name="description" content="Collab on videos... make creative animations... and more!">
<script src='/static/main.js'></script>
<link rel='stylesheet' href='/static/main.css'>
<meta charset="UTF-8">
<meta name="description" content="Collab on videos... make creative animations... and more!">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="BiglyChat" />
<meta property="og:type" content="<%= ogType %>" />
<meta property="og:url" content="<%= url %>" />
<meta property="og:image" content="<%= icon %>" />
</head>
<body>

View file

@ -1,4 +1,5 @@
<%- include('header.ejs') -%>
<meta property="og:video" content="<%= rootUrl %>/videos/<%= videoData.id %>.webm" />
<div class='video-wrapper'>
<video class='player' src='/videos/<%= videoData.id %>.webm'></video>
<div class="progressbar">