diff options
author | friendica <info@friendica.com> | 2011-11-12 04:06:14 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2011-11-12 04:06:14 -0800 |
commit | ab6bf767df4a06494b314f7d0c3928a795b81bae (patch) | |
tree | a9e2a68d109be3d68e745af1beb5882d187dd5e2 /mod | |
parent | d23867f5a0564d680680e4bae3691bdecdcc183f (diff) | |
parent | e853549bc8a2d37b1be813396d7adb217cbda921 (diff) | |
download | volse-hubzilla-ab6bf767df4a06494b314f7d0c3928a795b81bae.tar.gz volse-hubzilla-ab6bf767df4a06494b314f7d0c3928a795b81bae.tar.bz2 volse-hubzilla-ab6bf767df4a06494b314f7d0c3928a795b81bae.zip |
Merge pull request #3 from fabrixxm/master
fix for #191 and some other
Diffstat (limited to 'mod')
-rw-r--r-- | mod/oembed.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mod/oembed.php b/mod/oembed.php new file mode 100644 index 000000000..25995813a --- /dev/null +++ b/mod/oembed.php @@ -0,0 +1,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(); +} |