Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.39 veröffentlicht (02.06.25)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
WebM and WebP Thread Preview
#1
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
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  WebM and WebP Thread Preview with imagick and ffmp MyBB.de Bot 0 6 Gestern, 01:40
Letzter Beitrag: MyBB.de Bot
  MyBB UserCP Attachment Image Preview MyBB.de Bot 0 636 08.02.2023, 21:50
Letzter Beitrag: MyBB.de Bot
  Thread Preview MyBB.de Bot 2 2.286 03.07.2021, 15:35
Letzter Beitrag: MyBB.de Bot
  First Post/PM Preview MyBB.de Bot 60 19.321 21.01.2019, 15:53
Letzter Beitrag: lenox
  Theme Preview MyBB.de Bot 0 1.285 29.04.2018, 00:55
Letzter Beitrag: MyBB.de Bot