1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
add og:logo
This commit is contained in:
Daniel Neto 2024-09-13 09:23:08 -03:00
parent a96e7096b0
commit 2a16b94544

View file

@ -69,6 +69,7 @@ function generateMetaTags($videoType, $modifiedDate, $createdDate, $title, $desc
$description = getSEODescription($description);
$metaTags = array();
$metaTags[] = '<!-- OpenGraph -->';
$metaTags[] = '<meta property="og:logo" content="'.getURL($config->getLogo()).'" />';
if (preg_match('/\.m3u8/', $sourceFileURL)) {
$metaTags[] = '<meta property="og:video:type" content="application/x-mpegURL" />';;
} else if (!empty($videoType)) {