1
0
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:
3D-I
2021-08-30 21:28:45 +02:00
parent 3dc446d5ce
commit 80f3d7b0aa
10 changed files with 139 additions and 1 deletions

View File

@@ -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';