feat(oembed.php): add oembed api and implement in dependent pages

This commit is contained in:
Cory Dransfeldt 2025-05-10 17:19:43 -07:00
parent d95df47274
commit ec03d7ccef
No known key found for this signature in database
15 changed files with 173 additions and 3 deletions

View file

@ -66,6 +66,7 @@
$pageDescription = truncateText(htmlspecialchars(strip_tags($genre["description"]), ENT_QUOTES, "UTF-8"), 250);
$ogImage = htmlspecialchars($genre["artists"][0]["image"], ENT_QUOTES, "UTF-8");
$fullUrl = "https://www.coryd.dev" . $requestUri;
$oembedUrl = "https://www.coryd.dev/oembed" . $requestUri;
ob_start();