Embedding a YouTube video with WebRatio

20 Oct '14, 06:14 PM
2,127 Views
No Forum Badges

Hi,

We are trying to embed a YouTube video in a WebRatio project. The YouTube video is part of the Item entity, it is a url preformatted for embedding. I can display easily the items properties in text but how to embed a video? Is there a standard component with which to insert in the HTML either a <embed> or <iframe> tag or embedJWS function?

Would replacing the innerHtml of the tag containing the url in text with some custom iframe code?

 

Regards,

Andrea Fassina

 
x 0
Follow
Answer Answer at this question and get points!
Forum Expert - Level 5

You can use a message unit, you pass de code to the message unit and in the layout option in the message unit you choose text/html in the option content type

 
x 1
No Forum Badges

Ah great thanks!

In the meantime I have made a plugin for it, modifying the MetroStyle bootstrap theme available in the store.

Here it is: https://github.com/andrea-f/embed-youtube-webratio

 
x 0
Answer at this question and get points!