Browse Source

测试

dev_trial
wenlele 2 years ago
parent
commit
be6d1a412f
  1. 14
      code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx

14
code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx

@ -462,8 +462,8 @@ const VideoPlay = ({ dispatch, actions,
id: containerId, // ID
accessToken: videoObj?.yingshiToken,
url: videoObj.playUrlSd,
width: -10,
height: -10,
width: setupSize('width'),
height: setupSize('height'),
handleSuccess: (e) => { //
setRoll(true)
setVideoMask(false)
@ -479,7 +479,7 @@ const VideoPlay = ({ dispatch, actions,
})
setPlayer(player)
yingshiPlayer.current = player
}, 3000)
}, 0)
}
}
@ -567,7 +567,7 @@ const VideoPlay = ({ dispatch, actions,
<>
<div className='vcmp_videoplay' style={{ width: size?.parentWidth || '100%', height: size?.parentHeight || '100%', backgroundColor: 'black', overflow: 'hidden', display: 'flex', alignItems: 'center', justifyContent: 'center', }}>
<div id={"vcmp_videoplay" + videoObj.id} className="vcmp_video" style={{ position: 'relative', height: size?.height || '100%', width: size?.width || '100%', minWidth: 240, minHeight: 135, overflow: 'hidden' }}>
{/* <VideoHeader
<VideoHeader
operationState={operationState} changeSelectState={changeSelectState}
histroyTime={histroyTime}
setoperationState={setoperationState} name={name}
@ -585,7 +585,7 @@ const VideoPlay = ({ dispatch, actions,
showTime_={showTime_}
setShowTime={setShowTime}
setShowTimeSelect={setShowTimeSelect}
/> */}
/>
{/* 视频内容 */}
{
// <iframe
@ -617,7 +617,7 @@ const VideoPlay = ({ dispatch, actions,
{/* 下方操作栏 */}
{/* 显示操作功能条件(宽高) */}
{/* {size?.parentWidth > 479 ?
{size?.parentWidth > 479 ?
<VideoOperation
operationState={operationState} operation={operation}
voiceDisY={voiceDisY} setVoiceDisY={setVoiceDisY}
@ -643,7 +643,7 @@ const VideoPlay = ({ dispatch, actions,
setShowTimeSelect={setShowTimeSelect}
microAppVideo={microAppVideo}
/> : ""
} */}
}
</div>
</div>

Loading…
Cancel
Save