Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Feeding video url from table to Web Video Component

Solved987 views24th January 2024Apps Dashboards lowcodeapps VideoThumbnails
0
Sigan Kunai96 24th January 2024 0 Comments

Hello,

How can I dynamically feed a video URL into a web video component that utilizes custom HTML, with the ability to update the video URL based on the selected cell in a table?

Sigan Kunai Selected answer as best 24th January 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Wout Mahieu [SLC] [DevOps Catalyst]7.66K Posted 24th January 2024 2 Comments

Hi Sigan,

This can be easily done using the grid component. When editing the template of the component, you can use a text shape to display HTML. This shape also allows the insertion of a column values from the current row in the text/html.

In my example, I start from a table that has a row for each possible video. I easily got these onto my dashboard using the JSON reader add hoc source. (Github, Catalog) Then I feed the selected query row of the table on top to the grid component. After that I configured the grid component with a text shape that contains a <video> HTML element. The source attribute of the video is replaced by the value in the ‘Src’ column of my selected row. After applying the correct grid layout, I got the result as you can see in the last Gif (the bad quality of the videos is due to the Gif compression used).

Some useful links to our docs: Template Editor, Grid component.

Wout Mahieu [SLC] [DevOps Catalyst] Edited comment 24th January 2024
Sigan Kunai commented 24th January 2024

Thank you for reply, But why this is not work with HLS streams ? Can I embed Javascript Library inside the HTML Web Component ?

Wout Mahieu [SLC] [DevOps Catalyst] commented 24th January 2024

The HTML in the text shape is sanitized and does not allow scripts or iframes to be used. Our Web component can display HLS streams using video thumbnails (https://docs.dataminer.services/user-guide/Advanced_Modules/Dashboards_and_Low_Code_Apps/Visualizations/Available_visualizations/General/Web.html#configuring-a-video-thumbnail) but this component cannot be fed with a selection from the table. We have tasks on our backlog to support both the use of iframes in templates & feeds in the web component.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs