diff --git a/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoOperation.jsx b/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoOperation.jsx index 29e84dd..ca30cd7 100644 --- a/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoOperation.jsx +++ b/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 = ({ : '' } - {vcmp_videoplayHeight > 359 && vcmp_videoplaWidth > 599 ?
{ + {microAppVideo || vcmp_videoplayHeight > 359 && vcmp_videoplaWidth > 599 ?
{ setShowTimeSelect(!showTimeSelect) }}>时间设置
: ""}
diff --git a/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx b/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx index 14ef0ea..3145f27 100644 --- a/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx +++ b/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} /> : "" } diff --git a/code/VideoAccess-VCMP/web/client/src/sections/monitor/containers/videoPlayCross.jsx b/code/VideoAccess-VCMP/web/client/src/sections/monitor/containers/videoPlayCross.jsx index c128e19..00d6f94 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/monitor/containers/videoPlayCross.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/monitor/containers/videoPlayCross.jsx @@ -61,7 +61,7 @@ const VideoPlayCross = (props) => { console.log(data); // 微前端嵌入 - + const resize = () => { if (history?.location?.query) { setSizeWh({ @@ -82,7 +82,7 @@ const VideoPlayCross = (props) => { <> {history?.location?.query?.video ?
- {sizeWh && } + {sizeWh && }
: videoParams &&