mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/16863] Support playing video attachments
PHPBB3-16863
This commit is contained in:
@@ -1323,6 +1323,15 @@ function parse_attachments($forum_id, &$message, &$attachments, &$update_count_a
|
||||
$update_count_ary[] = $attachment['attach_id'];
|
||||
break;
|
||||
|
||||
// Audio files
|
||||
case ATTACHMENT_CATEGORY_VIDEO:
|
||||
$block_array += [
|
||||
'S_VIDEO_FILE' => true,
|
||||
];
|
||||
|
||||
$update_count_ary[] = $attachment['attach_id'];
|
||||
break;
|
||||
|
||||
default:
|
||||
$l_downloaded_viewed = 'DOWNLOAD_COUNTS';
|
||||
|
||||
|
Reference in New Issue
Block a user