aboutsummaryrefslogblamecommitdiffstats
path: root/mod/oembed.php
blob: 25995813a3316c26546eb3bc42b80c6485ae239c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                     
<?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();
}