Forum Discussion

hclauer-salyers's avatar
hclauer-salyers
Contributor
12 years ago

Processing li-video tag

I'm currently working on a video blog, and we are trying to pull out the most recent blog for a spotlight story. 

 

We won't always be posting videos from youtube, so using the iFrame syntax isn't very helpful.  I would like to be able to use something like this in our custom component, but I can't get it to render.  

 

Ex:

 

<#assign video = rest("messages/id/" + msg.id + "/uploads/videos").videos.video[0]/>
  
<li-video vid="${video.id}" align="left" size="custom" width="320" height="265" uploading="false" thumbnail="${video.thumbnail.url}" external="${video.provider}"></li-video>`

 

 

  • YuriK's avatar
    YuriK
    Khoros Expert

    Hey hclauer-salyers,

     

    At the moment, we don't support <li-video> tag in custom components. If you want to add video in components you will have to use regular html. Here is a good resource regarding embedding video: http://www.w3schools.com/html/html_videos.asp

     

    Note: if you want to use html5 video tag for embedding video, only the browsers outlined here can show it.

     

    Hope this helps,

     

    Yuri