|
|
@ -375,6 +375,8 @@ const VideoPlay = ({ dispatch, actions, |
|
|
|
} |
|
|
|
}, [processDisX]) |
|
|
|
|
|
|
|
// videoObj.type = '!yingshi' |
|
|
|
|
|
|
|
const createPlay = async () => { |
|
|
|
if (videoObj.type != 'yingshi') { |
|
|
|
try { |
|
|
@ -586,7 +588,11 @@ const VideoPlay = ({ dispatch, actions, |
|
|
|
{ |
|
|
|
videoObj.type == 'yingshi' ? |
|
|
|
<div id={containerId} style={{ height: '100%', width: '100%', }}></div> : |
|
|
|
<video id={containerId} muted style={{ height: '100%', width: '100%', }}></video> |
|
|
|
<video id={containerId} |
|
|
|
autoplay muted |
|
|
|
style={{ height: '100%', width: '100%', }}> |
|
|
|
|
|
|
|
</video> |
|
|
|
} |
|
|
|
|
|
|
|
{/* {videoMask ? <div style={{ height: '100%', width: '100%', position: 'absolute', top: '0', left: '0', backgroundColor: 'black', color: "red", }}><div style={{ position: 'absolute', top: 'calc(60%)', left: 0, zIndex: 99, textAlign: 'center', width: '100%' }}>{written}</div></div> : ''} */} |
|
|
|