Get the published date
This commit is contained in:
@ -36,7 +36,7 @@ export class PipedVideoHandler extends ContentHandler {
|
||||
thumbnailUrl: string
|
||||
uploader: string
|
||||
uploaderUrl: string
|
||||
uploadedDate: string
|
||||
uploadDate: string
|
||||
description: string
|
||||
videoStreams: {
|
||||
width: number
|
||||
@ -68,7 +68,7 @@ export class PipedVideoHandler extends ContentHandler {
|
||||
<meta property="og:description" content="${metadata.description}" />
|
||||
<meta property="og:article:author" content="${authorName}" />
|
||||
<meta property="og:site_name" content="Piped" />
|
||||
<meta property="article:published_time" content="${metadata.uploadedDate}" />
|
||||
<meta property="article:published_time" content="${metadata.uploadDate}" />
|
||||
</head>
|
||||
<body>
|
||||
<iframe width="${width}" height="${height}" src="${src}" title="${escapedTitle}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
||||
|
||||
Reference in New Issue
Block a user