GBCLStudio/fof-upload-qcloud
August 2, 2024 ยท View on GitHub
A Flarum extension. An extension for FoF Upload to support Tencent COS upload
Installation
Install manually with composer:
composer require gbcl/fof-upload-qcloud
After installation, you must set the following settings in the admin panel:
qcloud_secret_idqcloud_secret_keyqcloud_regionqcloud_bucketqcloud_pathqcloud_domain
then you need to set the adapter and template to Tencent COS and corresponding template.
If these settings are not set correctly, the upload will fail and will cause a fatal error.
Updating
composer update gbcl/fof-upload-qcloud
php flarum cache:clear
Features
- Support audio/picture/video/pdf preview and common download
- Support file signature and custom signatureToken name/time
- Support most commonly used regions
Links
Special
VideoTemplate is using DPlayer@1.27 By DIYgod
PdfTemplate is using PDFObject@latest By PDFObject
Support my works at afdian.net