piwigo上传视频piwigo怎样上传视频piwigo上传视频的办法

1.首先安装插件piwigo-videojs_15.g,链接地址为:https://cn.piwigo.org/ext/index.php?eid=610,

如果下载太慢可直接点击以下链接:

piwigo-videojs_15.g

2.下载后上传至/plugins目录下,在后台插件管理里面启用VideoJS插件,同时需要启用LocalFiles Editor插件

3.启用LocalFiles Editor插件后,点击设置按钮,在结尾?>前输入以下代码:

$conf['upload_form_all_types'] = true;
$conf['sync_chars_regex'] = '/^[a-zA-Z0-9-_ .]+$/';
$conf['show_exif'] = true;
$conf['show_exif_fields'] = array(
'Make',
'Model',
'ExifVersion',
'Software',
'DatetimeOriginal',
'FNumber',
'ExposureBiasValue',
'FILE;FileSize',
'ExposureTime',
'Flash',
'ISOSpeedRatings',
'FocalLength',
'FocalLengthIn35mmFilm',
'WhiteBalance',
'ExposureMode',
'MeteringMode',
'ExposureProgram',
'LightSource',
'Contrast',
'Saturation',
'Sharpness',
'bitrate',
'channel',
'date_creation',
'display_aspect_ratio',
'duration',
'filesize',
'frame_rate',
'latitude',
'longitude',
'make',
'model',
'playtime_seconds',
'sampling_rate',
'type',
'resolution',
'rotation',
);

点击保存之后,即可上传视频。