feat(oembed.php): add oembed api and implement in dependent pages
This commit is contained in:
parent
d95df47274
commit
ec03d7ccef
15 changed files with 173 additions and 3 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue