mirror of
https://github.com/friendica/friendica
synced 2024-12-23 12:40:17 +00:00
14 lines
246 B
PHP
14 lines
246 B
PHP
|
<?php
|
||
|
require_once("include/oembed.php");
|
||
|
|
||
|
function oembed_content(&$a){
|
||
|
if ($a->argc == 2){
|
||
|
echo "<html><body>";
|
||
|
$url = base64url_decode($a->argv[1]);
|
||
|
$j = oembed_fetch_url($url);
|
||
|
echo $j->html;
|
||
|
echo "</body></html>";
|
||
|
}
|
||
|
killme();
|
||
|
}
|