Git Product home page Git Product logo

Comments (3)

AldirchEugene avatar AldirchEugene commented on June 12, 2024 1

你好@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

from thingsboard.

xiaobai1017 avatar xiaobai1017 commented on June 12, 2024

应该可以用html widgets实现

from thingsboard.

ssakharova avatar ssakharova commented on June 12, 2024

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

from thingsboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.