7
Views
5
Comments
how can save embed in an entity
Question
Application Type
Reactive

how can save embed in an entity 

embed like this

<iframe width="560" height="315" src="https://www.youtube.com/embed/07d2dXHYb94" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>


mvp_badge
MVP
Rank: #2

Hi Andrew,

I would think you only need to store the YouTube code in an Attribute, so in your example "07d2dXHYb94"? All the other stuff is fixed and doesn't depend on the particular video?

Rank: #55

Hi Andrew,


You can drag to your screen the HTML widget and use the tag iframe:


Then on the properties, you can define your properties under the Attributes section like in the example is made with width and src properties.


In this way, on the database you would only need to save the URL and place it on the src property.


Regards,
João

Rank: #1399

hello Regards

can upload your OMl please

Rank: #287

Hi Andrew,

What do you mean about save embed in an entity?

Do you really want to save a video file to the entity?

Kind Regards

Rank: #1399

I want to save something like this

<iframe width="560" height="315" src="https://www.youtube.com/embed/07d2dXHYb94" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

in an entity