diff --git a/templates/fediplan/schedule.html.twig b/templates/fediplan/schedule.html.twig index 11874b0..c6e94b2 100644 --- a/templates/fediplan/schedule.html.twig +++ b/templates/fediplan/schedule.html.twig @@ -414,7 +414,7 @@ var content; content = '
\n' + '
\n' + - ' \n' + + ' \n' + '
\n' + '
\n' + ' \n' + @@ -428,11 +428,11 @@ '
\n' + '
' - $('#media_container').html($('#media_container').html() + content); + $('#media_container').append($(content)); }, url: 'https://{{ instance }}/api/v1/media', - acceptFileTypes: /(\.|\/)(gif|jpe?g|png|mp4|mp3)$/i + acceptFileTypes: /(\.|\/)(gif|jpe?g|apng|png|mp4|mp3|avi|mov|webm|wmv|flv|wav|ogg)$/i }); // Enable iframe cross-domain access via redirect option: