diff --git a/assets/img/social-preview.png b/assets/img/social-preview.png new file mode 100644 index 0000000..7cc3dbe Binary files /dev/null and b/assets/img/social-preview.png differ diff --git a/includes/header.php b/includes/header.php index 783217b..c13e76e 100644 --- a/includes/header.php +++ b/includes/header.php @@ -7,6 +7,10 @@ $canonicalPath = preg_replace('#/index\.php$#', '/', $canonicalPath); $canonicalUrl = 'https://openrtmp.org' . $canonicalPath; $ogType = $ogType ?? 'website'; +$socialImage = $socialImage ?? 'https://openrtmp.org/assets/img/social-preview.png'; +$socialImageWidth = $socialImageWidth ?? 1200; +$socialImageHeight = $socialImageHeight ?? 630; +$socialImageAlt = $socialImageAlt ?? 'OpenRTMP social preview showing the librtmp2 Rust RTMP/E-RTMP library and the self-hosted RTMP/RTMPS server with web panel.'; ?> @@ -22,9 +26,15 @@ - + + + + + + +