Skip to content

Commit

Permalink
Show ogg as audio media see BT#16282
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed Nov 21, 2019
1 parent 815cffd commit bf2fa69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/inc/lib/document.lib.php
Expand Up @@ -3256,6 +3256,7 @@ public static function generateMediaPreview($file, $extension)
{
$id = api_get_unique_id();
switch ($extension) {
case 'ogg':
case 'mp3':
$document_data['file_extension'] = $extension;
$html = '<div style="margin: 0; position: absolute; top: 50%; left: 35%;">';
Expand Down

0 comments on commit bf2fa69

Please sign in to comment.