Commit 1a167df7 authored by Leon's avatar Leon 😶

🔧 Remove OpenGraph as a test

parent 0e0a07d2
Pipeline #11729 passed with stage
in 31 seconds
......@@ -100,13 +100,13 @@
<meta property="twitter:image:alt" content="Logo de l'application">
<!-- Open Graph Tags -->
<meta property="og:type" content="video.other">
<meta property="og:url" content="<?php echo $baseURL . '?video=' . $identifier; ?>">
<meta property="og:site_name" content="<?php echo $WEBSITE_URL; ?>">
<meta property="og:title" content="<?php echo htmlspecialchars($pagetitle); ?>">
<meta property="og:description" content="<?php echo htmlspecialchars($description); ?>">
<meta property="og:image" content="<?php echo $baseURL; ?>assets/logo/512px.png"><?php
// also use it to check if we have an audio only file
<!--<meta property="og:type" content="video.other">
<meta property="og:url" content="<?php /*echo $baseURL . '?video=' . $identifier; */?>">
<meta property="og:site_name" content="<?php /*echo $WEBSITE_URL; */?>">
<meta property="og:title" content="<?php /*echo htmlspecialchars($pagetitle); */?>">
<meta property="og:description" content="<?php /*echo htmlspecialchars($description); */?>">-->
<!--<meta property="og:image" content="<?php /*echo $baseURL; */?>assets/logo/512px.png">--><?php
/*// also use it to check if we have an audio only file
$isAudioOnly = true;
foreach ($video['mime'] as $mime) {
$ext = mimeToExt($mime);
......@@ -123,7 +123,7 @@
echo "\n\t\t" . '<meta property="og:'.$metaMime.':secure_url"' . $content . '>';
echo "\n\t\t" . '<meta property="og:'.$metaMime.':type" content="' . htmlspecialchars($mime) . '">';
}
echo PHP_EOL;
echo PHP_EOL;*/
?>
<!-- Facebook App Link -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment