Browse Source

时间设置 条件修改

dev_trial
wenlele 2 years ago
parent
commit
ac3d85184e
  1. 6
      code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoOperation.jsx
  2. 2
      code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx
  3. 2
      code/VideoAccess-VCMP/web/client/src/sections/monitor/containers/videoPlayCross.jsx

6
code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoOperation.jsx

@ -34,8 +34,8 @@ const VideoOperation = ({
showTime_,
videoAfter,
showTimeSelect,
setShowTimeSelect
setShowTimeSelect,
microAppVideo
}) => {
const butStyle = {
@ -128,7 +128,7 @@ const VideoOperation = ({
<VideoOperationSpeed butStyle={butStyle} />
: ''
}
{vcmp_videoplayHeight > 359 && vcmp_videoplaWidth > 599 ? <div style={butStyle} onClick={() => {
{microAppVideo || vcmp_videoplayHeight > 359 && vcmp_videoplaWidth > 599 ? <div style={butStyle} onClick={() => {
setShowTimeSelect(!showTimeSelect)
}}>时间设置</div> : ""}
</div>

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

@ -26,6 +26,7 @@ const VideoPlay = ({ dispatch, actions,
global,
videoStyle,
changeData,
microAppVideo,
videoObj,
sizeWh,
slideDown, //
@ -631,6 +632,7 @@ const VideoPlay = ({ dispatch, actions,
playBackTime={playBackTime.current}
showTimeSelect={showTimeSelect}
setShowTimeSelect={setShowTimeSelect}
microAppVideo={microAppVideo}
/> : ""
}
</div>

2
code/VideoAccess-VCMP/web/client/src/sections/monitor/containers/videoPlayCross.jsx

@ -82,7 +82,7 @@ const VideoPlayCross = (props) => {
<>
{history?.location?.query?.video ?
<div style={{ width: '100%', height: '100%' }}>
{sizeWh && <VideoPlay videoObj={history?.location?.query?.videoObj || {}} sizeWh={sizeWh} />}
{sizeWh && <VideoPlay videoObj={history?.location?.query?.videoObj || {}} microAppVideo={history?.location?.query?.video || false} sizeWh={sizeWh} />}
</div>
: videoParams && <VideoPlay {...videoParams} sizeWh={sizeWh} />

Loading…
Cancel
Save