recognise opus as an audio file

This commit is contained in:
friendica
2015-01-25 12:41:08 -08:00
parent b3370243e8
commit 4776f62be9
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ function oembed_fetch_url($embedurl){
// These media files should now be caught in bbcode.php
// left here as a fallback in case this is called from another source
$noexts = array("mp3","mp4","ogg","ogv","oga","ogm","webm");
$noexts = array("mp3","mp4","ogg","ogv","oga","ogm","webm","opus");
$ext = pathinfo(strtolower($embedurl),PATHINFO_EXTENSION);