TencentCloud COS File Upload

Rely on fof/upload, use https://github.com/overtrue/flysystem-cos as flysystem
Tencent Cloud is a cloud service provider from China. Its Cloud Object Storage(COS) is used by many webmasters in China. In view of the fact that no one has developed relevant support plug-ins yet, I made one myself.
Install
Use Composer:
composer require gbcl/fof-upload-qcloud
upgrade
composer update gbcl/fof-upload-qcloud
Features
- Support audio/picture/video preview (video uses DPlayer)
- Support file authentication, custom authentication parameter name, custom expiration time
- Supports most regions
Screenshots




Links
others
This is my first extension, and it may not be very good.
If you use this plug-in, please be sure to change the template to the corresponding template of COS, otherwise the authentication link will not be automatically updated, and the audio and video display will not take effect!
Support my works at afdian.net
Chinese:
依赖fof/upload,使用 https://github.com/overtrue/flysystem-cos 作为flysystem
安装
使用 Composer:
composer require gbcl/fof-upload-qcloud
升级
composer update gbcl/fof-upload-qcloud
特点
- 支持音频/图片/视频/PDF预览(视频使用DPlayer),支持文件下载
- 支持文件鉴权,自定义鉴权参数名,自定义过期时间
- 支持大部分区域
Links
其他的
这是我本人的第一个拓展,可能做的不是很好。
如果使用了插件一定,一定,一定要把模板更改为cos的对应模板,不然是不会自动更新鉴权链接,音视频等显示也是不会生效的!
在 afdian.net 上支持我的开发