mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
parent
a96e7096b0
commit
2a16b94544
1 changed files with 1 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue