mirror of
https://gitee.com/ShopeX/ECShopX_mobile-frontend
synced 2026-08-12 14:25:38 +08:00
bug:
This commit is contained in:
@@ -219,14 +219,16 @@ const Slider = (props) => {
|
||||
<>
|
||||
<Video
|
||||
src={item.videoUrl}
|
||||
controls={false}
|
||||
autoplay={item.autoplay&&curIdx === idx}
|
||||
objectFit='cover'
|
||||
showCenterPlayBtn={false}
|
||||
showFullscreenBtn={false}
|
||||
showProgress={false}
|
||||
muted={false}
|
||||
showPlayBtn={false}
|
||||
id={`sliderVideo_${idx}`}
|
||||
className='slider-video'
|
||||
poster={item.imgUrl}
|
||||
enableProgressGesture={false}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user