How To Embed video's in between Text in Rich Text Component

I have a customer that want’s to show articles in his Glideapp.
In between the body text he wants to paste images or video’s.

For images I can easily get this to work with a little bit of HTML, but I can’t seem to get this to work for video’s. Neither for mp4’s uploaded in Glide nor for Loom url’s.

Offcourse I can link it to a video component but in that case it’s not in between the text.
Perhaps I should split the text and add two rich text components or create a HTML to URL and show that in an embed component.
But neither of these seem really good or scalable options.

Perhaps it’s possible to work with custom css, displacing the Video component in between the text? At the place of a specific HTML tag?

Would love to hear if you guys have better solutions.

Many thanks!

Tim

I think HTML to URL would be the best option. You can also try AI Component?

Where is the video hosted? What html did you try using for the video?

Uploaded to Glide:

<video src="URL here" preload="auto" controls="" style="width: 100%; height: 100%;"></video>

4 Likes

Haven’t found a way to do Loom since they focus on using iframe. I don’t think Glide allows iframe in rich text due to security issues.

If it’s not complex, I would advise uploading videos to Glide and use the template above.

1 Like