1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
Daniel Neto 2024-09-13 15:49:27 -03:00
parent d0be9137c6
commit ac27e3925a

View file

@ -137,8 +137,8 @@ function generateMetaTags($videoType, $modifiedDate, $createdDate, $title, $desc
$metaTags[] = "<meta property=\"og:video\" content=\"{$sourceFileURL}\" />";
$metaTags[] = "<meta property=\"og:video:secure_url\" content=\"{$sourceFileURL}\" />";
$metaTags[] = '<meta property="og:video:type" content="' . getMetaTagsContentVideoType($sourceFileURL) . '" />';
$metaTags[] = '<meta property="og:video:width" content="1024" />';
$metaTags[] = '<meta property="og:video:height" content="768" />';
$metaTags[] = '<meta property="og:video:width" content="1200" />';
$metaTags[] = '<meta property="og:video:height" content="628" />';
} else {
if ($SecureVideosDirectoryIsEnabled) {
$metaTags[] = '<!-- SecureVideosDirectory plugin is enabled we will not share the video source file -->';