Skip to content

Commit

Permalink
https://github.com/WWBN/AVideo/issues/9400
Browse files Browse the repository at this point in the history
add og:logo
  • Loading branch information
Daniel Neto committed Sep 13, 2024
1 parent a96e709 commit 2a16b94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions objects/functionsOpenGraph.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 2a16b94

Please sign in to comment.