|
|
@ -67,7 +67,7 @@ const VideoPlay = ({ dispatch, actions, |
|
|
|
iotVideoServer, |
|
|
|
local, //是否本地调用视频 |
|
|
|
}) => { |
|
|
|
// console.log(videoObj); |
|
|
|
// console.log('1754',videoStyle); |
|
|
|
if (videoObj.type == 'yingshi') { |
|
|
|
videoObj = { |
|
|
|
...videoObj, |
|
|
@ -194,12 +194,13 @@ const VideoPlay = ({ dispatch, actions, |
|
|
|
// 实时播放左下方操作栏内容 |
|
|
|
const operation = [{ |
|
|
|
key: 'control', |
|
|
|
hide: !videoObj.cloudControl, |
|
|
|
click: () => { |
|
|
|
changeSelectState('control') |
|
|
|
} |
|
|
|
}, { |
|
|
|
key: 'talk', |
|
|
|
hide: !(videoObj.type == 'yingshi'), |
|
|
|
hide: !videoObj.audio, |
|
|
|
click: (e) => { |
|
|
|
changeSelectState('talk') |
|
|
|
} |
|
|
@ -542,7 +543,7 @@ const VideoPlay = ({ dispatch, actions, |
|
|
|
|
|
|
|
{/* 下方操作栏 */} |
|
|
|
{/* 显示操作功能条件(宽高) */} |
|
|
|
{size?.parentWidth > 320 ? |
|
|
|
{size?.parentWidth > 480 ? |
|
|
|
<VideoOperation |
|
|
|
operationState={operationState} operation={operation} |
|
|
|
voiceDisY={voiceDisY} setVoiceDisY={setVoiceDisY} |
|
|
|