|
@ -46,7 +46,6 @@ const VideoPlay = ({ |
|
|
// |
|
|
// |
|
|
iotVideoServer |
|
|
iotVideoServer |
|
|
}) => { |
|
|
}) => { |
|
|
console.log(videoObj); |
|
|
|
|
|
const [jessibuca, setjessibuca] = useState(null) |
|
|
const [jessibuca, setjessibuca] = useState(null) |
|
|
const [isPlaying, setIsPlaying] = useState(false) |
|
|
const [isPlaying, setIsPlaying] = useState(false) |
|
|
const [operationState, setoperationState] = useState() |
|
|
const [operationState, setoperationState] = useState() |
|
@ -310,7 +309,7 @@ const VideoPlay = ({ |
|
|
|
|
|
|
|
|
return ( |
|
|
return ( |
|
|
<> |
|
|
<> |
|
|
<div className="vcmp_videoplay" style={{ height: height || '100%', width: width || '100%', overflow: 'hidden' }}> |
|
|
<div className="vcmp_videoplay" style={{ height: height ? height : '100%', width: width || '100%', overflow: 'hidden' }}> |
|
|
<div id="vcmp_videoplay" style={{ position: 'relative', display: 'flex', height: '100%', width: '100%' }}> |
|
|
<div id="vcmp_videoplay" style={{ position: 'relative', display: 'flex', height: '100%', width: '100%' }}> |
|
|
{/* 顶部信息 */} |
|
|
{/* 顶部信息 */} |
|
|
<VideoHeader |
|
|
<VideoHeader |
|
@ -375,7 +374,6 @@ const VideoPlay = ({ |
|
|
|
|
|
|
|
|
function mapStateToProps (state) { |
|
|
function mapStateToProps (state) { |
|
|
const { auth, global } = state; |
|
|
const { auth, global } = state; |
|
|
console.log('global',global); |
|
|
|
|
|
return { |
|
|
return { |
|
|
user: auth.user, |
|
|
user: auth.user, |
|
|
iotVideoServer: global.iotVideoServer, |
|
|
iotVideoServer: global.iotVideoServer, |
|
|