Browse Source

(*)大屏 运营增加 视频播放组件

dev
peng.peng 1 year ago
parent
commit
d81c27d411
  1. 29
      web/client/src/sections/quanju/containers/public/olMap.js

29
web/client/src/sections/quanju/containers/public/olMap.js

@ -677,6 +677,7 @@ const OlMap = (props) => {
: '-' : '-'
} }
</div> </div>
</div> </div>
) )
}) })
@ -700,6 +701,34 @@ const OlMap = (props) => {
}}>上报记录</a> }}>上报记录</a>
: '' : ''
} }
<div>
<div style={{ marginTop: 20, marginBottom: 10 }}>监控视频</div>
<iframe
allowFullScreen
src={`https://mediaconsole.ngaiot.com/video_play_cross?videoObj=${encodeURIComponent(JSON.stringify({
channelNo: 1,
// content: [vide.o.location],
// serialNo: "F61.504020",
type: "yingshi",
id: 'myPlayer',
yingshiToken: 'at',
// type: 'nvr',
cloudControl: false,
serialNo: 1, // 设备序列号 必须
// topSerialNo: '34020000001320000001', // 设备顶级序列号 必须
// audio: true,
// highDefinition: true,
// cloudControl: true,
// playUrlSd: 'wss://221.230.55.27:8082/jessica/34020000001110000079/34020000001310000003.flv', // 必须
// playUrlSd: 'wss://221.230.55.27:8082/jessica/34020000001110000075/34020000001110000073.flv', // 必须
}))}`}
style={{ height: 300, width: 400 }}
frameBorder={0}
>
<p>你的浏览器不支持 iframe</p>
</iframe>
</div>
</div> </div>
</div> </div>
<div slot="overlays" style={{ display: 'none', }}> <div slot="overlays" style={{ display: 'none', }}>

Loading…
Cancel
Save