mirror of
https://github.com/friendica/friendica
synced 2024-11-12 22:22:54 +00:00
oembed: revert changes from 48f5bd492d
This commit is contained in:
parent
8ff6cb8406
commit
7bd43613fa
1 changed files with 0 additions and 5 deletions
|
@ -12,11 +12,6 @@ function oembed_replacecb($matches){
|
|||
|
||||
function oembed_fetch_url($embedurl){
|
||||
|
||||
if(! strpos('://',$embedurl)) {
|
||||
// this may be wrong but it's already wrong, we can only guess
|
||||
$embedurl = 'http://' . $embedurl;
|
||||
}
|
||||
|
||||
$txt = Cache::get($embedurl);
|
||||
|
||||
$noexts = array("mp3","mp4","ogg","ogv","oga","ogm","webm");
|
||||
|
|
Loading…
Reference in a new issue