A Flarum extension. An extension for FoF Upload to support Tencent COS upload
Install manually with composer:
composer require gbcl/fof-upload-qcloud
After installation, you must set the following settings in the admin panel:
qcloud_secret_id
qcloud_secret_key
qcloud_region
qcloud_bucket
qcloud_path
qcloud_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.
composer update gbcl/fof-upload-qcloud
php flarum cache:clear
- Support audio/picture/video/pdf preview and common download
- Support file signature and custom signatureToken name/time
- Support most commonly used regions
VideoTemplate is using DPlayer@1.27 By DIYgod
PdfTemplate is using PDFObject@latest By PDFObject
Support my works at afdian.net