This commit is contained in:
Erik 2022-03-22 15:16:28 +02:00
parent b293c5568d
commit 0efd1f35aa
No known key found for this signature in database
GPG Key ID: FEFF4B220DDF5589
2 changed files with 7 additions and 15 deletions

View File

@ -1,25 +1,15 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"short_name": "Corgi Corner",
"name": "Navy's homepage 😎",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"sizes": "128x128 64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"theme_color": "#ffafff",
"background_color": "#ffffff"
}

View File

@ -33,13 +33,15 @@ const ClipEntry = ({ name, filename, uploader, thumbnail, duration, clickHandler
const VideoPlayer = ({ refF, video }) => {
const { filename, name, thumbnail } = video;
const { filename, name, thumbnail, uploader } = video;
const source = `/api/clips/${filename}`;
return (
<div ref={refF} className='video-popup shadow'>
<Helmet>
<title>{name}</title>
<meta name='author' content={uploader.name} />
<meta property='og:url' content={window.location.href} />
<meta property='og:image' content={`${window.location.origin}${thumbnailBase}${thumbnail}`} />
<meta property='og:video:type' content='text/html' />