|
@@ -351,8 +351,9 @@ function CustomVideo({ video, current, index, onTimeUpdate, onProgressMove, need
|
|
src={video.videoPath || ''}
|
|
src={video.videoPath || ''}
|
|
controls={false}
|
|
controls={false}
|
|
autoplay={false}
|
|
autoplay={false}
|
|
|
|
+ enableProgressGesture={false}
|
|
showCenterPlayBtn={false}
|
|
showCenterPlayBtn={false}
|
|
- showBottomProgress={true}
|
|
|
|
|
|
+ showBottomProgress={false}
|
|
poster={video.videoCoverSnapshotPath}
|
|
poster={video.videoCoverSnapshotPath}
|
|
onTimeUpdate={didTimeUpdate}
|
|
onTimeUpdate={didTimeUpdate}
|
|
onEnded={onEnded}
|
|
onEnded={onEnded}
|
|
@@ -377,7 +378,7 @@ function CustomVideo({ video, current, index, onTimeUpdate, onProgressMove, need
|
|
</View>
|
|
</View>
|
|
</View>
|
|
</View>
|
|
|
|
|
|
- {!showProgressIndicator && <VideoIntroduce detail={video} showRedShareBtn={showRedShareBtn} index={index}/>}
|
|
|
|
|
|
+ {!showProgressIndicator && <VideoIntroduce detail={video} showRedShareBtn={showRedShareBtn} />}
|
|
{showProgressIndicator && <View className='progress-indicator'>
|
|
{showProgressIndicator && <View className='progress-indicator'>
|
|
<View className='showInfo'>
|
|
<View className='showInfo'>
|
|
<View className='showInfo-a'>{formatSecondsAsTime(seekTime)}</View>
|
|
<View className='showInfo-a'>{formatSecondsAsTime(seekTime)}</View>
|
|
@@ -396,7 +397,7 @@ function CustomVideo({ video, current, index, onTimeUpdate, onProgressMove, need
|
|
)
|
|
)
|
|
}
|
|
}
|
|
|
|
|
|
-function VideoIntroduce({ detail, showRedShareBtn, index}) {
|
|
|
|
|
|
+function VideoIntroduce({ detail, showRedShareBtn}) {
|
|
return (
|
|
return (
|
|
<View className='video-introduce'>
|
|
<View className='video-introduce'>
|
|
<View className='video-user-info'>
|
|
<View className='video-user-info'>
|