From e185c0395a6cd250ccd7c8e385c54830be73f937 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 12 Mar 2009 00:13:28 -0400 Subject: Revert "trac #201 Add flowplayer to enable multimedia playback capability." This reverts commit 9c9b6790ce78296c0b182f03b5f6f2c035e43a7c. This code wasn't ready for release, so I've reverted it for now. Conflicts: lib/action.php lib/util.php --- lib/util.php | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/util.php') diff --git a/lib/util.php b/lib/util.php index 6341438ca..a43666fa5 100644 --- a/lib/util.php +++ b/lib/util.php @@ -480,18 +480,12 @@ function common_replace_urls_callback($text, $callback) { function common_linkify($url) { // It comes in special'd, so we unspecial it before passing to the stringifying // functions - $ext = pathinfo($url, PATHINFO_EXTENSION); $url = htmlspecialchars_decode($url); - $video_ext = array('mp4', 'flv', 'avi', 'mpg', 'mp3', 'ogg'); $display = $url; $url = (!preg_match('#^([a-z]+://|(mailto|aim|tel):)#i', $url)) ? 'http://'.$url : $url; $attrs = array('href' => $url, 'rel' => 'external'); - if (in_array($ext, $video_ext)) { - $attrs['class'] = 'media'; - } - if ($longurl = common_longurl($url)) { $attrs['title'] = $longurl; } -- cgit v1.2.3-54-g00ecf