diff options
author | friendica <info@friendica.com> | 2015-01-25 12:41:08 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-25 12:41:08 -0800 |
commit | 4776f62be9066a0e35a3b578a7502336effbb6a9 (patch) | |
tree | ef6964322b0520c921b4aac6db0a5d7267c19dbd /include/bbcode.php | |
parent | b3370243e8ac7100ea73aa4a78904311067dcc05 (diff) | |
download | volse-hubzilla-4776f62be9066a0e35a3b578a7502336effbb6a9.tar.gz volse-hubzilla-4776f62be9066a0e35a3b578a7502336effbb6a9.tar.bz2 volse-hubzilla-4776f62be9066a0e35a3b578a7502336effbb6a9.zip |
recognise opus as an audio file
Diffstat (limited to 'include/bbcode.php')
-rw-r--r-- | include/bbcode.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index 33017c011..5504dce7a 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -746,7 +746,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) { $Text = preg_replace_callback("/\[video\](.*?\.(ogg|ogv|oga|ogm|webm|mp4))\[\/video\]/ism", 'tryzrlvideo', $Text); } if (strpos($Text,'[/audio]') !== false) { - $Text = preg_replace_callback("/\[audio\](.*?\.(ogg|ogv|oga|ogm|webm|mp4|mp3))\[\/audio\]/ism", 'tryzrlaudio', $Text); + $Text = preg_replace_callback("/\[audio\](.*?\.(ogg|ogv|oga|ogm|webm|mp4|mp3|opus))\[\/audio\]/ism", 'tryzrlaudio', $Text); } // Try to Oembed |