@ -53,7 +53,7 @@ $configs = array(
'supportedVideoExts' => array('mp4', 'mov', 'm3u8'),
'screenshot_start' => 1000, //视频播放页快照截取开始时间,单位:毫秒
'screenshot_expire_seconds' => 315360000, //视频封面图缓存3650天
'enableSmallImage' => true, //开启图片小尺寸缩略图
'enableSmallImage' => true, //开启图片小尺寸缩略图,设置 false 则关闭
/*
//视频皮肤配置
@ -102,7 +102,7 @@ require_once __DIR__ . '/../../../../plugins/Html.php';
<script src="/js/video.min.js"></script>
<script src="/js/beauty.js?v<?= Html::getStaticFileVersion('beauty.js', 'js') ?>"></script>
<script>
<?php if (FSC::$app['config']['enableSmallImage'] == false) {
<?php if (empty(FSC::$app['config']['enableSmallImage']) || FSC::$app['config']['enableSmallImage'] == 'false') {
echo <<<eof
var disableSmallImage = true;
eof;