]> git.mxchange.org Git - friendica.git/blob - mod/oembed.php
Merge branch 'pull'
[friendica.git] / mod / oembed.php
1 <?php
2 require_once("include/oembed.php");
3
4 function oembed_content(&$a){
5         if ($a->argc == 2){
6                 echo "<html><body>";
7                 $url = base64url_decode($a->argv[1]);
8                 $j = oembed_fetch_url($url);
9                 echo $j->html;
10                 echo "</body></html>";
11         }
12         killme();
13 }