Can you include video in an HTML table?

Hi there,
I have created an HTML table card that displays images (not links to the images but the actual images themselves). I've used a case statement because the dashboard the HTML table card is on gets filtered by category.
Here is the generalized beast mode I made to display the images:
CASE
WHEN 'Category' = 'C1'
THEN CONCAT(''
<IMG src="
IMAGE_LOCATION_URL_FOR_C1
" style="max-width: 300px; max-height: 269px;">
'')
WHEN 'Category' = 'C12'
THEN CONCAT(''
<IMG src="
IMAGE_LOCATION_URL_FOR_C2
" style="max-width: 300px; max-height: 269px;">
'')
END
Is it possible to do something similar with video?
Best Answer
-
@user015090 Yes! This is a feature switch. If you contact [email protected] they should be able to assist you in enabling that feature for your instance. This will only allow videos in the HTML tables, none of the other tables in Domo.
If I have answered your question, please click "Yes" on my comment's option. π
1
Answers
-
I was able to find a similar way to upload a video using the HTML table that someone has tried in the past. Here is the format they used:
<video controls="" width="320" height="240"><source src="http://test.test.com/video/990/89079890ffd0dab8726">
</video>
It looks like it works within the analyzer, but not in production of the card. I think this might have been fixed or something that needs to be enabled for your instance. Maybe try something similar to the above code and I will follow up with you on this when I have a definite answer. I am determining if this was resolved or what can be done to enable this.
If I have answered your question, please click "Yes" on my comment's option. π
0 -
I tried using <video></video> and it did not work. As Aknowles mentions, perhaps something needs to be enabled.
CONCAT('<div style="text-align:center;border:0px white;border-collapse:collapse;"><video width="320" height="240" controls><source src="https://mysite.com/image/movie.mp4" type="video/mp4"><source src="movie.ogg" type="video/ogg"></video></div>','')
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
@user015090 Yes! This is a feature switch. If you contact [email protected] they should be able to assist you in enabling that feature for your instance. This will only allow videos in the HTML tables, none of the other tables in Domo.
If I have answered your question, please click "Yes" on my comment's option. π
1 -
Update: I reached out to DOMO support as was suggested and was told "Unfortunately, you cannot upload a video directly into an HTML table element of the DOMO platform. " So it seems like this is not possible.
0 -
I think you could accomplish this using an HTML table DDX brick. Search "HTML Table Brick" in the Domo appstore.
0 -
@user015090 - with an html brick (like using images), you wouldn't upload the video to Domo. You "host" the video on a server, youtube, or wherever, and call the video as I showed in my earlier comment. In my test, I pushed a video up to a location I already had on the internet. Then called that video with its URL.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Categories
- 10.5K All Categories
- 5 Connect
- 915 Connectors
- 250 Workbench
- 459 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 476 Datasets
- 186 Visualize
- 250 Beast Mode
- 2.1K Charting
- 11 Variables
- 16 Automate
- 354 APIs & Domo Developer
- 88 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 245 Distribute
- 62 Domo Everywhere
- 242 Scheduled Reports
- 20 Manage
- 41 Governance & Security
- 170 Product Ideas
- 1.2K Ideas Exchange
- 10 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive