Gestern, 01:35
Eine neue Erweiterung wurde veröffentlicht: WebM and WebP Thread Preview
Zitat:It's development, but it works.
They are two Versions use only one !!! This is without Thumbnail generation - orignal is show
The best version is "with_thumbnail_generation_server_need_imagick_and_ffmpeg" and she Count the Downloads correct!
The other version displays the animation directly.
You decide what's more important to you.
Both versions have another bug: If you use gif, png, etc. under "Attached Files," they will be displayed twice. Therefore, this option is not enabled by default.
The example.webp file must be uploaded as an attachment. The plugin simply checks whether it is in the attached file or inline.
For logged-in users only
Installation
1. Upload plugin files
- /inc/plugins/webm_webp_thread_preview.php
2. Install & Activate in ACP.
3. MyBB Attachment settings already changed?
The server PHP must support the file types, otherwise no display will work.
*****************************************************************************************************
My test system (nginx and other versions not tested):
I'm testing it on a freshly installed mybb without any additional plugins (I'm using my Docker version with HTTPS.)
MyBB Version 1.8.39
PHP Version 8.3.12
SQL Engine: MySQLi 8.0.40
Apache/2.4.65 (unix) OpenSSL/3.5.1
For image processing my server uses php with gd and imagick (all inside my docker version):
ffmpeg: support on server
Phar: PHP Archive support: enabled
Phar API version: 1.1.1
Phar-based phar archives: enabled
Tar-based phar archives: enabled
ZIP-based phar archives: enabled
gzip compression: enabled
bzip2 compression: enabled
EXIF Support : enabled
imagick module
GD Support: enabled
GD Version: bundled (2.1.0 compatible)
FreeType Support: enabled
FreeType Linkage: with freetype
FreeType Version: 2.12.1
GIF Read Support: enabled
GIF Create Support: enabled
JPEG Support: enabled
libJPEG Version: 6b
PNG Support: enabled
libPNG Version: 1.6.39
WBMP Support: enabled
XBM Support: enabled
BMP Support: enabled
TGA Read Support: enabled
Directive: gd.jpeg_ignore_warning
Local Value: On
Master Value: On
i have not tested what you really need