thingsboard / thingsboard

Open-source IoT Platform - Device management, data collection, processing and visualization.
https://thingsboard.io
Apache License 2.0
15.92k stars 4.87k forks source link

Is it possible to connect the camera video stream to thingsboard for playback?Your title here #10784

Closed AldirchEugene closed 1 week ago

AldirchEugene commented 2 weeks ago

Is it possible to connect the camera video stream to thingsboard for playback?

xiaobai1017 commented 2 weeks ago

应该可以用html widgets实现

ssakharova commented 2 weeks ago

Hello @AldirchEugene,

You should use the HTML Card widget with the appropriate configuration. Here is an example of how you can customize the HTML Card widget to display video streaming on the dashboard by inserting these lines of code into the HTML field:

<iframe width="100%" height="100%" id='id_stream_stream_***' src='https://www.youtube.com/embed/tgbNymZ7vqY' allowfullscreen></iframe>

image

Best regards, Sofiia

AldirchEugene commented 5 days ago

你好@AldirchEugene,

您应该使用具有适当配置的 HTML Card 小部件。 以下是示例,说明如何通过在 HTML 字段中插入以下代码行来自定义 HTML Card 小部件以在仪表板上显示视频流:

<iframe width="100%" height="100%" id='id_stream_stream_***' src='https://www.youtube.com/embed/tgbNymZ7vqY' allowfullscreen></iframe>

图像

谨致问候, 索菲亚

ok,thank you very much