By default this sadly doesn't work (at least in Joomla 2.5.*). In an older project we had to hack the com_media
component for this to work. You need to apply the following change
diff --git a/administrator/components/com_media/models/list.php b/administrator/components/com_media/models/list.php
index b97a930..ebee3f4 100644
--- a/administrator/components/com_media/models/list.php
+++ b/administrator/components/com_media/models/list.php
@@ -156,7 +156,7 @@ class MediaModelList extends JModel
default:
$tmp->icon_32 = "media/mime-icon-32/".$ext.".png";
$tmp->icon_16 = "media/mime-icon-16/".$ext.".png";
- $docs[] = $tmp;
+ $images[] = $tmp;
break;
}
}
Video and audio files will now show up using the "media" type, albeit with a broken image icon (as they have none). This patch could obviously be improved further by adding the necessary image information manually.