diff --git a/templates/discussion/show.php b/templates/discussion/show.php index be4b21f..31f15d6 100644 --- a/templates/discussion/show.php +++ b/templates/discussion/show.php @@ -100,10 +100,14 @@ { return '
'; } - else if (['webm', 'ogg', 'ogv', 'mp4'].includes(extension)) + else if (['webm', 'ogv', 'mp4'].includes(extension)) { return ''; } + else if (['wav', 'ogg', 'mp3'].includes(extension)) + { + return ''; + } else { return '
Voir le fichier ' + (Number(index) + 1) + '
';