1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/14771] Support playing audio attachments

Add Audio attachments category, Audio attachments group.
add most audio supported extensions to the audio group.
presserve audio extensions MIMEtypes.
modify the attachment style file to view the audio attachment in
AUDIO HTML5 tag.

PHPBB3-14771
This commit is contained in:
hubaishan
2018-11-15 13:02:34 +03:00
committed by Marc Alexander
parent 2f8e5b7248
commit 8fab32abd7
8 changed files with 45 additions and 4 deletions

View File

@@ -68,6 +68,7 @@ $lang = array_merge($lang, array(
'ATTACH_QUOTA_EXPLAIN' => 'Maximum drive space available for attachments for the whole board, with 0 being unlimited.',
'ATTACH_TO_POST' => 'Attach file to post',
'CAT_AUDIO_FILES' => 'Audio files',
'CAT_IMAGES' => 'Images',
'CHECK_CONTENT' => 'Check attachment files',
'CHECK_CONTENT_EXPLAIN' => 'Some browsers can be tricked to assume an incorrect mimetype for uploaded files. This option ensures that such files likely to cause this are rejected.',
@@ -100,6 +101,7 @@ $lang = array_merge($lang, array(
'EXT_GROUP_DOWNLOADABLE_FILES' => 'Downloadable Files',
'EXT_GROUP_IMAGES' => 'Images',
'EXT_GROUP_PLAIN_TEXT' => 'Plain Text',
'EXT_GROUP_AUDIO_FILES' => 'Audio Files',
'FILES_GONE' => 'Some of the attachments you selected for deletion do not exist. They may have been already deleted. Attachments that did exist were deleted.',
'FILES_STATS_WRONG' => 'Your file statistics are likely inaccurate and need to be resynchronised. Actual values: number of attachments = %1$d, total size of attachments = %2$s.<br />Click %3$shere%4$s to resynchronise them.',