Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Sep 13, 2024
1 parent d0be913 commit ac27e39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions objects/functionsOpenGraph.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->';
Expand Down

0 comments on commit ac27e39

Please sign in to comment.